Skip to content
Draft
Show file tree
Hide file tree
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
65 changes: 0 additions & 65 deletions .github/workflows/api.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .github/workflows/importer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
# Checks out the registry-dev repository so we can run scripts from it
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
repository: purescript/registry-dev
token: ${{ env.PACCHETTIBOTTI_TOKEN }}
Expand All @@ -48,12 +48,13 @@ jobs:
scratch/.cache

- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v4
uses: DeterminateSystems/nix-installer-action@v21
with:
github-token: ${{ env.PACCHETTIBOTTI_TOKEN }}
determinate: false

- name: Setup Nix cache
uses: DeterminateSystems/magic-nix-cache-action@v2
uses: DeterminateSystems/magic-nix-cache-action@v13

- name: Run the transferrer
run: nix run .#package-transferrer
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/process-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
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 }}
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