Skip to content

Commit

Permalink
Change security of pull request branches
Browse files Browse the repository at this point in the history
  • Loading branch information
rowanc1 committed Apr 24, 2024
1 parent 93ec4f8 commit 18b20b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: curvenote
on:
pull_request:
pull_request_target:
branches: ['2024']
permissions:
contents: read
Expand All @@ -18,6 +18,7 @@ jobs:
collection: '2024'
kind: Article
path: papers/*
ref: ${{ github.event.pull_request.head.sha }}
secrets:
CURVENOTE: ${{ secrets.CURVENOTE_TOKEN }}
GITHUB: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 18b20b2

Please sign in to comment.