Skip to content

Archive Issues and Pull Requests #39

Archive Issues and Pull Requests

Archive Issues and Pull Requests #39

Workflow file for this run

name: "Archive Issues and Pull Requests"
on:
schedule:
- cron: '0 0 * * 0,2,4'
repository_dispatch:
types: [archive]
workflow_dispatch:
inputs:
archive_full:
description: 'Recreate the archive from scratch'
default: false
type: boolean
jobs:
build:
name: "Archive Issues and Pull Requests"
runs-on: ubuntu-latest
steps:
- name: "Checkout"
uses: actions/checkout@v2
# Note: No caching for this build!
- name: "Update Archive"
uses: martinthomson/i-d-template@v1
env:
ARCHIVE_FULL: ${{ inputs.archive_full }}
with:
make: archive
token: ${{ github.token }}
- name: "Update GitHub Pages"
uses: martinthomson/i-d-template@v1
with:
make: gh-archive
token: ${{ github.token }}
- name: "Save Archive"
uses: actions/upload-artifact@v3
with:
path: archive.json