Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/propose_osc_changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
pull_request:
types: ["closed"]

permissions:
contents: read

jobs:
generate:
if: github.event.pull_request.merged == true
Expand Down Expand Up @@ -52,7 +55,7 @@ jobs:
- name: Get commit message from merged PR
id: commit
env:
GH_TOKEN: ${{ secrets.TARGET_REPO_TOKEN }}
GH_TOKEN: ${{ github.token }}
run: |
PR_NUMBER=${{ github.event.pull_request.number }}
COMMIT_MESSAGE=$(gh pr view $PR_NUMBER --json commits --jq '.commits[-1].commit.message')
Expand Down
Loading