mirror of
https://github.com/fhswf/aki_prj23_transparenzregister.git
synced 2025-05-14 08:08:45 +02:00
Using actor to identify dependabot and skipp some actions. (#273)
This commit is contained in:
parent
e7a778e4cb
commit
0e388eb927
4
.github/workflows/test-and-build-action.yaml
vendored
4
.github/workflows/test-and-build-action.yaml
vendored
@ -45,7 +45,7 @@ jobs:
|
||||
|
||||
coverage_pull_request:
|
||||
name: Coverage Report on pull request
|
||||
if: ${{ github.event_name == 'pull_request' && !startsWith(github.ref, 'refs/heads/dependabot/')}}
|
||||
if: ${{ github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'}}
|
||||
runs-on: ubuntu-latest
|
||||
needs: test
|
||||
steps:
|
||||
@ -114,7 +114,7 @@ jobs:
|
||||
|
||||
docker-build:
|
||||
name: Docker Build
|
||||
if: ${{ github.event_name == 'push' && !startsWith(github.ref, 'refs/heads/dependabot/')}}
|
||||
if: ${{ github.event_name == 'push' && github.actor != 'dependabot[bot]' && github.actor != 'dependabot-preview[bot]'}}
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build]
|
||||
steps:
|
||||
|
Loading…
x
Reference in New Issue
Block a user