Skip to content

Commit

Permalink
Adjust permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mwouts committed Dec 1, 2023
1 parent f1c09b4 commit 9c13c42
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ concurrency:
cancel-in-progress: true

jobs:
comment-pr:
uses: ./.github/workflows/step_comment-pr.yml
link-to-binder:
permissions:
pull-requests: write
uses: ./.github/workflows/step_link-to-binder.yml

pre-commit:
uses: ./.github/workflows/step_pre-commit.yml
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
name: comment-pr
run-name: comment-pr
name: link_to_binder
run-name: link_to_binder

on:
workflow_call:

jobs:
example_comment_pr:
link_to_binder:
runs-on: ubuntu-latest
name: Link to Binder
if: github.event_name == 'pull_request'
permissions:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down

0 comments on commit 9c13c42

Please sign in to comment.