Skip to content

Commit

Permalink
Run the add_header script on every PR and push except master rucio#4980
Browse files Browse the repository at this point in the history
The `add_header` GitHub Acitons job is running on every pull request. While this
enforces the usage of the script, it most of the times creates a lot of noise,
since the developer has to change the PR after the test fails. We should have a
more intermediate feedback. Running the job on every push seems reasonable.
  • Loading branch information
Joel Dierkes committed Mar 9, 2022
1 parent 4b4b951 commit 3a1a2ee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/autotest.yml
Expand Up @@ -6,7 +6,7 @@ on:

jobs:
header-lint:
if: 'github.event_name == ''pull_request'''
if: ${{ github.ref != 'refs/heads/master' }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 3a1a2ee

Please sign in to comment.