Skip to content

Commit

Permalink
Do not use environment protection rule, rely on workflow run
Browse files Browse the repository at this point in the history
  • Loading branch information
LauraBeatris committed Dec 9, 2024
1 parent 494ed84 commit 1ca9c63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: CI
on:
merge_group:
pull_request_target:
types: [opened, synchronize]
branches:
- main
- release/v4
Expand All @@ -12,7 +13,7 @@ concurrency:
cancel-in-progress: true

jobs:
# Check triggering actor permissions to prevent PRs from forks accessing secrets by default, preventing them from exfiltrating secrets for malicious purposes
# Check triggering actor permissions to prevent PRs from forks accessing secrets by default, preventing them from accessing secrets for malicious purposes
check-permissions:
runs-on: 'blacksmith-8vcpu-ubuntu-2204'
steps:
Expand Down Expand Up @@ -47,6 +48,7 @@ jobs:
with:
fetch-depth: 0
show-progress: false
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup
id: config
Expand Down Expand Up @@ -118,6 +120,7 @@ jobs:
with:
fetch-depth: 0
show-progress: false
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup
id: config
Expand Down Expand Up @@ -179,6 +182,7 @@ jobs:
with:
fetch-depth: 0
show-progress: false
ref: ${{ github.event.pull_request.head.sha }}

- name: Setup
id: config
Expand Down

0 comments on commit 1ca9c63

Please sign in to comment.