Skip to content

Commit 8ab9f70

Browse files
committed
test 14
1 parent dadf5c2 commit 8ab9f70

File tree

2 files changed

+9
-21
lines changed

2 files changed

+9
-21
lines changed

.github/workflows/AsteriskPRChanged.yml

+9
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ on:
99
required: false
1010
default: '{ "owner": "asterisk", "repo": "asterisk-ci-actions", "branch": "main" }'
1111

12+
permissions:
13+
actions: read
14+
checks: read
15+
contents: read
16+
issues: read
17+
pull-requests: write
18+
statuses: read
19+
20+
1221
env:
1322
REPO: ${{ github.repository }}
1423
REPO_DIR: ${{ github.workspace }}/${{ github.event.repository.name }}

.github/workflows/OnPRChanged.yml

-21
Original file line numberDiff line numberDiff line change
@@ -7,28 +7,7 @@ on:
77
pull_request_target:
88
types: [opened, reopened, synchronize, labeled]
99

10-
env:
11-
REPO: ${{ github.repository }}
12-
REPO_DIR: ${{ github.workspace }}/${{ github.event.repository.name }}
13-
REPO_ORG: ${{ github.event.repository.owner.login }}
14-
PR_NUMBER: ${{ github.event.number }}
15-
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
16-
WORKFLOW_NAME: ${{ github.workflow }}
17-
WORKFLOW_RUN_ID: ${{ github.run_id }}
18-
GH_TOKEN: ${{ github.token }}
19-
2010
jobs:
21-
Cleanup0:
22-
needs: [ PRChanged ]
23-
if: ${{ always() }}
24-
runs-on: ubuntu-latest
25-
steps:
26-
- id: setup
27-
run: |
28-
mkdir output
29-
echo "${GITHUB_TOKEN}" | md5sum
30-
echo "${GH_TOKEN}" | md5sum
31-
echo "${{ github.token }}" | md5sum
3211

3312
PRChanged:
3413
name: "run-check"

0 commit comments

Comments
 (0)