mirror of
https://git.sr.ht/~bryan_bennett/flake_env
synced 2025-12-16 06:31:24 +01:00
Add github workflow to proxy tests from sr.ht
This commit is contained in:
parent
6e28820659
commit
443a10d738
2 changed files with 30 additions and 0 deletions
16
.github/workflows/repo-lockdown.yml
vendored
Normal file
16
.github/workflows/repo-lockdown.yml
vendored
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
name: "Repo Lockdown"
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
types: 'opened'
|
||||
|
||||
permissions:
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
action:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: dessant/repo-lockdown@v4
|
||||
with:
|
||||
pr-comment: "This repo does not accept pull requests as it is a mirror. Please instead submit patches to https://sr.ht/~bryan_bennett/flake_env."
|
||||
14
.github/workflows/test.yml
vendored
Normal file
14
.github/workflows/test.yml
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
name: "Test"
|
||||
on:
|
||||
pull_request:
|
||||
push:
|
||||
jobs:
|
||||
tests:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v25
|
||||
with:
|
||||
github_access_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
- run: nix build
|
||||
- run: nix flake check --all-systems --keep-going
|
||||
Loading…
Add table
Add a link
Reference in a new issue