Skip to content

Commit

Permalink
update pr event/permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
swryan committed Dec 2, 2023
1 parent 4c0d232 commit 98398c5
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/openmdao_update_poem.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
name: Update Associated POEM

on:
pull_request_target:
pull_request:
types: [ opened, reopened, closed ]
branches: [ master ]

Expand All @@ -18,9 +18,7 @@ jobs:
runs-on: ubuntu-latest

permissions:
contents: write
pull-requests: write
repository-projects: write

defaults:
run:
Expand Down Expand Up @@ -49,7 +47,7 @@ jobs:
if python .github/scripts/get_poem_id.py ${GITHUB_REPOSITORY} $PR_NUMBER; then
cat POEM_ID.txt >> $GITHUB_OUTPUT
else
echo "POEM_ID=''" >> $GITHUB_OUTPUT
echo "POEM_ID=" >> $GITHUB_OUTPUT
fi
- name: Comment on PR
Expand Down

0 comments on commit 98398c5

Please sign in to comment.