workflows/check-by-name: Make runnable without approval
Co-Authored-By: zowoq <59103226+zowoq@users.noreply.github.com>
This commit is contained in:
parent
d1ec027cb1
commit
437d00dde3
9
.github/workflows/check-by-name.yml
vendored
9
.github/workflows/check-by-name.yml
vendored
|
@ -3,8 +3,10 @@
|
||||||
name: Check pkgs/by-name
|
name: Check pkgs/by-name
|
||||||
|
|
||||||
# The pre-built tool is fetched from a channel,
|
# The pre-built tool is fetched from a channel,
|
||||||
# making it work predictable on all PRs
|
# making it work predictable on all PRs.
|
||||||
on: pull_request
|
on:
|
||||||
|
# Using pull_request_target instead of pull_request avoids having to approve first time contributors
|
||||||
|
pull_request_target
|
||||||
|
|
||||||
# The tool doesn't need any permissions, it only outputs success or not based on the checkout
|
# The tool doesn't need any permissions, it only outputs success or not based on the checkout
|
||||||
permissions: {}
|
permissions: {}
|
||||||
|
@ -16,6 +18,9 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
with:
|
||||||
|
# pull_request_target checks out the base branch by default
|
||||||
|
ref: refs/pull/${{ github.event.pull_request.number }}/merge
|
||||||
- uses: cachix/install-nix-action@v23
|
- uses: cachix/install-nix-action@v23
|
||||||
- name: Determining channel to use for dependencies
|
- name: Determining channel to use for dependencies
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user