Annotations checker jazz edit #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Annotations Checker | |
on: | |
pull_request: | |
branches: | |
- main | |
- annotations-checker | |
jobs: | |
validate-annotations: | |
name: Validate Annotations | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Build Docker image | |
run: docker build -t annotations-checker -f cmd/annotations-checker/Dockerfile . | |
- name: Run Validation in Docker Container | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
DIFF_URL: ${{ github.event.pull_request.diff_url }} | |
run: docker run --rm -e GITHUB_TOKEN -e DIFF_UR annotations-checker |