Skip to content

Commit 623695d

Browse files
committed
change build trigger
1 parent e014bcd commit 623695d

File tree

2 files changed

+17
-32
lines changed

2 files changed

+17
-32
lines changed

.claude/settings.local.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(git ls-tree:*)",
5+
"Bash(git for-each-ref:*)",
6+
"Bash(git grep:*)",
7+
"Bash(gh api:*)",
8+
"Bash(gh release list:*)",
9+
"Bash(gh pr view:*)"
10+
]
11+
}
12+
}

.github/workflows/release-verification.yaml

Lines changed: 5 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,13 @@
11
name: Release Verification
22

33
on:
4-
release:
5-
types: [published]
4+
push:
5+
branches:
6+
- 'main'
67
workflow_dispatch:
7-
inputs:
8-
tag:
9-
description: 'Release tag to test (leave empty for latest release)'
10-
required: false
11-
type: string
128

139
jobs:
14-
resolve-tag:
15-
runs-on: ubuntu-latest
16-
outputs:
17-
tag: ${{ steps.get-tag.outputs.tag }}
18-
steps:
19-
- name: Get tag to test
20-
id: get-tag
21-
env:
22-
GH_TOKEN: ${{ github.token }}
23-
run: |
24-
if [ -n "${{ inputs.tag }}" ]; then
25-
echo "tag=${{ inputs.tag }}" >> $GITHUB_OUTPUT
26-
elif [ -n "${{ github.event.release.tag_name }}" ]; then
27-
echo "tag=${{ github.event.release.tag_name }}" >> $GITHUB_OUTPUT
28-
else
29-
TAG=$(gh release view --repo ${{ github.repository }} --json tagName -q '.tagName')
30-
echo "tag=$TAG" >> $GITHUB_OUTPUT
31-
fi
32-
- name: Print tag
33-
run: echo "Testing tag ${{ steps.get-tag.outputs.tag }}"
34-
3510
test-linux:
36-
needs: resolve-tag
3711
strategy:
3812
max-parallel: 4
3913
matrix:
@@ -53,7 +27,7 @@ jobs:
5327
timeout-minutes: 5
5428
steps:
5529
- name: Test published action
56-
uses: twingate/github-action@latest
30+
uses: twingate/github-action
5731
with:
5832
service-key: ${{ secrets[matrix.service-key] }}
5933

@@ -72,7 +46,6 @@ jobs:
7246
run: journalctl -u twingate
7347

7448
test-windows:
75-
needs: resolve-tag
7649
strategy:
7750
max-parallel: 4
7851
matrix:
@@ -88,7 +61,7 @@ jobs:
8861
timeout-minutes: 6
8962
steps:
9063
- name: Test published action
91-
uses: twingate/github-action@latest
64+
uses: twingate/github-action
9265
with:
9366
service-key: ${{ secrets[matrix.service-key] }}
9467

0 commit comments

Comments
 (0)