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:
parent
157f8bb060
commit
f68108b1f9
|
@ -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
|
Loading…
Reference in New Issue