-
Notifications
You must be signed in to change notification settings - Fork 15
40 lines (34 loc) · 1.18 KB
/
Copy pathprocess-issue.yml
File metadata and controls
40 lines (34 loc) · 1.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: Process Registry Issue
on:
issues:
types: [opened]
issue_comment:
types: [created]
jobs:
process:
# Only run on issues, not PRs
if: ${{ !github.event.issue.pull_request }}
permissions:
issues: write
contents: read
runs-on: ubuntu-latest
steps:
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v21
with:
determinate: false
- name: Setup Nix cache
uses: DeterminateSystems/magic-nix-cache-action@v13
- name: Checkout registry-dev
uses: actions/checkout@v4
with:
repository: purescript/registry-dev
ref: master
- name: Process issue
env:
GITHUB_EVENT_PATH: ${{ github.event_path }}
PACCHETTIBOTTI_TOKEN: ${{ secrets.PACCHETTIBOTTI_TOKEN }}
PACCHETTIBOTTI_ED25519: ${{ secrets.PACCHETTIBOTTI_ED25519 }}
PACCHETTIBOTTI_ED25519_PUB: ${{ secrets.PACCHETTIBOTTI_ED25519_PUB }}
run: |
nix run .#github-importer