Skip to content

Commit

Permalink
.github: fixup 12
Browse files Browse the repository at this point in the history
  • Loading branch information
gtjoseph committed Feb 14, 2025
1 parent e5a0ee2 commit f3ef962
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 16 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/AsteriskPRChanged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,13 @@ env:
jobs:
PRChanged2:
name: "run-check"
permissions:
actions: read
checks: read
contents: read
issues: read
pull-requests: read
statuses: read
uses: ./.github/workflows/AsteriskPRChanged2.yml

Cleanup:
Expand Down
18 changes: 2 additions & 16 deletions .github/workflows/AsteriskPRChanged2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,6 @@ on:
required: false
default: '{ "owner": "asterisk", "repo": "asterisk-ci-actions", "branch": "main" }'

permissions:
actions: read
# attestations: read|write|none
checks: read
contents: read
# deployments: read|write|none
# id-token: write|none
issues: read
# discussions: read|write|none
# packages: read|write|none
# pages: read|write|none
pull-requests: read
# repository-projects: read|write|none
# security-events: read|write|none
statuses: read

env:
REPO: ${{ github.repository }}
REPO_DIR: ${{ github.workspace }}/${{ github.event.repository.name }}
Expand All @@ -46,6 +30,8 @@ jobs:
steps:
- id: setup
run: |
gh pr comment --repo ${REPO} ${PR_NUMBER} --body "This is a comment from ${WORKFLOW_NAME}" || \
echo "Add comment failed. Expected"
mkdir cacheit
ls -al > cacheit/dirlist.txt
mkdir output
Expand Down

0 comments on commit f3ef962

Please sign in to comment.