Skip to content

Commit cda0c06

Browse files
Rashad-jKaiSchwarz-cnic
authored andcommitted
ci(workflow): ignore tags & dependabot push
1 parent f2a1136 commit cda0c06

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
name: Release
2-
on: [push, pull_request]
2+
on:
3+
push:
4+
tags-ignore:
5+
- "**"
6+
pull_request:
7+
tags-ignore:
8+
- "**"
39

410
jobs:
511
test:
612
name: Test Job
7-
# Support [skip ci] out of box with github actions Workaround
8-
# Only works for push https://github.com/actions/runner/issues/774
9-
if: github.event_name == 'pull_request' || (github.event_name == 'push' && contains(toJson(github.event.commits), '[skip ci]') == false)
13+
if: github.event_name == 'pull_request' || (github.event_name == 'push' && github.actor != 'dependabot[bot]')
1014
runs-on: ubuntu-latest
1115
steps:
1216
- name: Checkout

0 commit comments

Comments
 (0)