We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3a3f552 + da5b5a2 commit 6370d5bCopy full SHA for 6370d5b
.github/workflows/tag-patch-release.yml
@@ -0,0 +1,26 @@
1
+name: Tag patch release
2
+
3
+on:
4
+ # https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#workflow_dispatch
5
+ workflow_dispatch:
6
+ inputs:
7
+ latest_local_sha:
8
+ description: The latest local sha
9
+ required: true
10
+ type: string
11
12
+permissions: {}
13
14
+jobs:
15
+ tagpatchrelease:
16
+ name: Tag patch release
17
+ # Only run cron on the silverstripe account
18
+ if: (github.event_name == 'schedule' && github.repository_owner == 'silverstripe') || (github.event_name != 'schedule')
19
+ runs-on: ubuntu-latest
20
+ permissions:
21
+ contents: write
22
+ steps:
23
+ - name: Tag release
24
+ uses: silverstripe/gha-tag-release@v2
25
+ with:
26
+ latest_local_sha: ${{ inputs.latest_local_sha }}
0 commit comments