mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
ffc47b90d1
This is an automated sync of common workflows for this organization. The upstream source is: https://github.com/shaka-project/shaka-github-tools/commit/4245160a0b8577baae0ffb75b6b365d850d52fde Co-authored-by: Shaka Bot <shaka-bot@users.noreply.github.com>
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@v3
|
|
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
|