chore: Sync common workflows (#1034)

This is an automated sync of common workflows for this organization.
The upstream source is:
aa5e38eb86

Co-authored-by: Shaka Bot <shaka-bot@users.noreply.github.com>
This commit is contained in:
Shaka Bot 2022-02-24 14:38:50 -08:00 committed by GitHub
parent 157f8bb060
commit f68108b1f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 29 additions and 0 deletions

29
.github/workflows/update-issues.yaml vendored Normal file
View File

@ -0,0 +1,29 @@
# 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
jobs:
update-issues:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
repository: joeyparrish/shaka-github-tools
- name: Update Issues
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
cd update-issues
npm ci
node main.js