-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (34 loc) · 1.06 KB
/
issues.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
on:
workflow_dispatch:
schedule:
- cron: '0 5 * * *'
name: Check issues
jobs:
link-checker:
name: Check issues
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: pip install --upgrade PyGitHub bs4
- name: Labels
if: ${{ github.event_name == 'schedule'}}
env:
BEHEER: ${{ secrets.BEHEER }}
run: |
wget https://raw.githubusercontent.com/Logius-standaarden/Automatisering/main/scripts/labels.py
python labels.py
- name: Issues
env:
BEHEER: ${{ secrets.BEHEER }}
run: |
wget https://raw.githubusercontent.com/Logius-standaarden/Automatisering/main/scripts/issues.py
python issues.py
- name: Clean-up
run: rm -f labels.py issues.py
- name: Commit
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update issue reports
commit_user_name: GitHub Actions
commit_user_email: [email protected]
commit_author: Standaardenbeheer <[email protected]>