Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 1 addition & 12 deletions .github/workflows/preflight-stale-approvals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ jobs:
steps:
- name: Resolve reusable workflow ref
id: workflow-ref
if: github.event_name != 'pull_request'
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
Comment thread
TimDiekmann marked this conversation as resolved.
with:
script: |
Expand All @@ -44,17 +43,7 @@ jobs:
const ref = job_workflow_ref.split('@')[1];
core.setOutput('ref', ref);

- name: Checkout action from pull request
if: github.event_name == 'pull_request'
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.sha }}
sparse-checkout: |
.github/actions/dismiss-stale-approvals

- name: Checkout action from reusable workflow ref
if: github.event_name != 'pull_request'
- name: Checkout action
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
repository: hashintel/.github
Expand Down
Loading