Archive Issues and Pull Requests #604
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "Archive Issues and Pull Requests" | |
on: | |
schedule: | |
- cron: '0 0 * * 0,2,4' | |
repository_dispatch: | |
types: [archive] | |
workflow_dispatch: | |
jobs: | |
build: | |
name: "Archive Issues and Pull Requests" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout" | |
uses: actions/checkout@v4 | |
- name: "Update Archive" | |
uses: martinthomson/i-d-template@v1 | |
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 |