-
Notifications
You must be signed in to change notification settings - Fork 166
39 lines (37 loc) · 1.08 KB
/
issues-ace-team.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
36
37
38
39
name: issues_ace_team
on:
workflow_dispatch:
schedule:
- cron: '30 2 * * *'
jobs:
build:
runs-on: windows-latest
steps:
- name: Check out repository
uses: actions/checkout@v2
- name: 'Generate Dashboard'
id: dashboard
uses: GH-ACE/issue-dashboard@v1
with:
config: ./dashboard-config/ace-team-issues-config.yml
configType: file
token: ${{ github.token }}
- name: Commit files
id: commit
continue-on-error: true
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add --all
if [-z "$(git status --porcelain)"]; then
echo "::set-output name=push::false"
else
git commit -m "Add changes" -a
echo "::set-output name=push::true"
fi
shell: bash
- name: Push changes
if: steps.commit.outputs.push == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}