diff options
author | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-03-07 11:50:43 +0700 |
---|---|---|
committer | Alexander Kriegisch <Alexander@Kriegisch.name> | 2022-03-07 11:50:43 +0700 |
commit | eef799dcced81dc6dc5e46b8ac24b7ee99ad764c (patch) | |
tree | 5fb927c45a1d4a739567e307d6c6de5b3cbcf756 /.github | |
parent | 4ada4f156f269dca3d64a51d9f09f1d1db830da2 (diff) | |
download | aspectj-eef799dcced81dc6dc5e46b8ac24b7ee99ad764c.tar.gz aspectj-eef799dcced81dc6dc5e46b8ac24b7ee99ad764c.zip |
No automatic builds for Dependabot PRs
Otherwise, Dependabot would run builds whenever something is pushed on
master and it rebases its PR. It is still possible to just click on the
skipped workflow in the PR and then issue "re-run all jobs" in order to
perform a build.
Signed-off-by: Alexander Kriegisch <Alexander@Kriegisch.name>
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/maven.yml | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index 546d4286b..3b2bdf199 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -12,11 +12,17 @@ on: jobs: build: - runs-on: ubuntu-latest + # No automatic builds for Dependabot PRs + # Caveat: cannot start 'if:' expression with '!', hence '!= true' + if: startsWith(github.actor, 'dependabot') != true + strategy: fail-fast: false matrix: java: [ 11, 14, 17 ] + + runs-on: ubuntu-latest + steps: - uses: actions/checkout@v2 |