Skip to content

Commit

Permalink
chore: remove unwanted permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
balakrishna-deriv committed Jan 17, 2024
1 parent 89514bd commit 8f7c5a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 11 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/generate_preview_link.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,5 @@
name: Generate preview link

permissions:
actions: write
checks: write
contents: write
deployments: write
pull-requests: write
statuses: write

on:
workflow_run:
workflows: ["Pre-generate preview link"]
Expand All @@ -24,6 +16,9 @@ concurrency:
jobs:
build_and_deploy_preview_link:
runs-on: Ubuntu-latest
permissions:
checks: write
pull-requests: write
steps:
- name: Download artifact
id: download-artifact
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/pre_generate_preview_link.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
name: Pre-generate preview link

permissions:
pull-requests: write

on:
pull_request:
types: [opened, synchronize]
Expand Down

0 comments on commit 8f7c5a4

Please sign in to comment.