mirror of
https://github.com/shaka-project/shaka-packager.git
synced 2026-04-02 19:30:21 +00:00
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
32 lines
743 B
YAML
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
|