Files
shaka-packager/.github/workflows/update-issues.yaml
Joey Parrish ebd608ae68 ci: Update actions (#1360)
This silences warnings about outdated node runtimes in CI jobs.

 - Trivial upgrades:
   - actions/checkout@v3 => v4
   - actions/deploy-pages@v2 => v4
   - actions/upload-pages-artifact@v2 => v3
   - mxschmitt/action-tmate@v3.6 => v3.17
   - mikepenz/action-junit-report@v3.8.0 => v4
 - Upgrades that required small changes or deeper testing:
   - actions/download-artifact@v3 => v4
   - actions/upload-artifact@v3 => v4
   - google-github-actions/release-please-action@v3 => v4
 - Replaced:
   - svenstaro/upload-release-action@v2 => gh CLI

See also:
- https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md
2024-03-05 09:28:51 -08:00

32 lines
743 B
YAML

# Install this in .github/workflows/ to automate issue maintenance.
name: Update Issues
on:
workflow_dispatch:
# Allows for manual triggering.
schedule:
# Run every 30 minutes
- cron: '*/30 * * * *'
permissions:
issues: write
pull-requests: write
jobs:
update-issues:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
repository: shaka-project/shaka-github-tools
- name: Update Issues
env:
# Use SHAKA_BOT_TOKEN if found, otherwise the default GITHUB_TOKEN.
GITHUB_TOKEN: ${{ secrets.SHAKA_BOT_TOKEN || secrets.GITHUB_TOKEN }}
run: |
cd update-issues
npm ci
node main.js