Skip to content

Commit dadf5c2

Browse files
committed
test 13
1 parent a1468de commit dadf5c2

File tree

3 files changed

+5
-34
lines changed

3 files changed

+5
-34
lines changed

.github/workflows/AsteriskPRChanged.yml

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,6 @@ on:
99
required: false
1010
default: '{ "owner": "asterisk", "repo": "asterisk-ci-actions", "branch": "main" }'
1111

12-
permissions:
13-
actions: read
14-
# attestations: read|write|none
15-
checks: read
16-
contents: read
17-
# deployments: read|write|none
18-
# id-token: write|none
19-
issues: read
20-
# discussions: read|write|none
21-
# packages: read|write|none
22-
# pages: read|write|none
23-
pull-requests: write
24-
# repository-projects: read|write|none
25-
# security-events: read|write|none
26-
statuses: read
27-
2812
env:
2913
REPO: ${{ github.repository }}
3014
REPO_DIR: ${{ github.workspace }}/${{ github.event.repository.name }}
@@ -61,7 +45,7 @@ jobs:
6145
- id: setup
6246
run: |
6347
# Wait then get testsuite PR
64-
6548
echo "${GITHUB_TOKEN}" | md5sum
6649
echo "${GH_TOKEN}" | md5sum
50+
echo "${{ github.token }}" | md5sum
6751

.github/workflows/AsteriskPRChanged2.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ jobs:
3232
run: |
3333
echo "${GITHUB_TOKEN}" | md5sum
3434
echo "${GH_TOKEN}" | md5sum
35+
echo "${{ github.token }}" | md5sum
3536
3637
3738
# - id: cache-build-output

.github/workflows/OnPRChanged.yml

Lines changed: 3 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,23 +5,7 @@ name: PRChanged
55
run-name: "PR ${{ github.event.number }} Changed by ${{ github.actor }}"
66
on:
77
pull_request_target:
8-
types: [opened, reopened, synchronize]
9-
10-
permissions:
11-
actions: read
12-
# attestations: read|write|none
13-
checks: read
14-
contents: read
15-
# deployments: read|write|none
16-
# id-token: write|none
17-
issues: read
18-
# discussions: read|write|none
19-
# packages: read|write|none
20-
# pages: read|write|none
21-
pull-requests: write
22-
# repository-projects: read|write|none
23-
# security-events: read|write|none
24-
statuses: read
8+
types: [opened, reopened, synchronize, labeled]
259

2610
env:
2711
REPO: ${{ github.repository }}
@@ -43,6 +27,8 @@ jobs:
4327
run: |
4428
mkdir output
4529
echo "${GITHUB_TOKEN}" | md5sum
30+
echo "${GH_TOKEN}" | md5sum
31+
echo "${{ github.token }}" | md5sum
4632
4733
PRChanged:
4834
name: "run-check"

0 commit comments

Comments
 (0)