Open issue on failing import (#605)
This commit is contained in:
parent
dff4ba7132
commit
727c84003e
4
.github/failing-import-issue.md
vendored
Normal file
4
.github/failing-import-issue.md
vendored
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
---
|
||||||
|
title: Failing import for nixpkgs {{ env.CHANNEL }}
|
||||||
|
labels: prio:blocker
|
||||||
|
---
|
14
.github/workflows/import-to-elasticsearch.yml
vendored
14
.github/workflows/import-to-elasticsearch.yml
vendored
|
@ -5,6 +5,10 @@ on:
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '0 * * * *'
|
- cron: '0 * * * *'
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
issues: write
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
|
|
||||||
nixos-channels:
|
nixos-channels:
|
||||||
|
@ -68,6 +72,16 @@ jobs:
|
||||||
done
|
done
|
||||||
if: github.repository_owner == 'NixOS'
|
if: github.repository_owner == 'NixOS'
|
||||||
|
|
||||||
|
- name: Create issue if failed
|
||||||
|
if: failure()
|
||||||
|
uses: JasonEtco/create-an-issue@v2
|
||||||
|
with:
|
||||||
|
filename: .github/failing-import-issue.md
|
||||||
|
search_existing: open
|
||||||
|
update_existing: false
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
CHANNEL: ${{ matrix.channel }}
|
||||||
|
|
||||||
import-flakes:
|
import-flakes:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in a new issue