-
Notifications
You must be signed in to change notification settings - Fork 0
58 lines (48 loc) · 1.22 KB
/
auto.yaml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Issue and PR automations
on:
workflow_dispatch:
schedule:
- cron: "0 0,6,12,18 * * *"
pull_request:
branches: [ "master" ]
push:
branches:
- master
concurrency:
group: "bump"
cancel-in-progress: true
permissions:
contents: write
issues: write
pull-requests: write
jobs:
tracking-issue:
name: Tracking Issue
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create Tracking Issue
env:
GH_TOKEN: ${{ github.token }}
run: |
./workflows/tracking-issue.sh
- name: Update Tracking Issues
env:
GH_TOKEN: ${{ github.token }}
run: |
./workflows/update-tracking-issue.sh
create-pr-version-bump:
name: Create PR Version Bump
runs-on: ubuntu-latest
needs: tracking-issue
steps:
- uses: actions/checkout@v3
with:
ssh-key: ${{ secrets.SSH_PRIVATE_KEY }}
- name: Create PR Version Bump
env:
GH_TOKEN: ${{ github.token }}
run: |
git config --global user.name "Github Action Automation"
git config --global user.email "nsg@users.noreply.github.com"
./workflows/create-pr-version-bump.sh