We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2007479 + 7e32709 commit 7462e40Copy full SHA for 7462e40
.github/workflows/sync-main-tags.yml
@@ -0,0 +1,27 @@
1
+name: Sync Main Tags
2
+
3
+on:
4
+ pull_request:
5
+ types:
6
+ - closed
7
+ branches:
8
+ - main
9
10
+jobs:
11
+ sync-main-tags:
12
+ name: Sync Main Tags
13
+ runs-on: ubuntu-latest
14
+ if: github.repository == 'microsoft/codeql' && github.event.pull_request.merged == true && github.event.pull_request.head.ref == 'auto/sync-main-pr'
15
+ permissions:
16
+ contents: write
17
+ steps:
18
+ - name: Checkout
19
+ uses: actions/checkout@v3
20
+ with:
21
+ fetch-depth: 0
22
+ - name: Push Tags
23
+ run: |
24
+ git fetch upstream --tags --force
25
+ git push --force origin --tags
26
+ env:
27
+ GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
0 commit comments