We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 532e809 commit 38e8d59Copy full SHA for 38e8d59
.github/workflows/ci.yaml
@@ -24,15 +24,25 @@ jobs:
24
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
25
with:
26
fetch-depth: 0
27
+ fetch-tags: true
28
- - name: fetch tags
29
- run: git fetch --force --tags
+ # only generate a new release if certain files change:
30
+ - uses: dorny/paths-filter@v2
31
+ id: filter
32
+ with:
33
+ filters: |
34
+ app:
35
+ - 'action.yaml'
36
+ - '**.sh'
37
+ - 'Dockerfile'
38
39
- name: install autotag binary
40
+ if: steps.filter.outputs.app == 'true'
41
run: |
42
curl -sL https://git.io/autotag-install | sudo sh -s -- -b /usr/local/bin
43
44
- name: increment tag and create release
45
46
47
set -eou pipefail
48
0 commit comments