-
Notifications
You must be signed in to change notification settings - Fork 0
40 lines (36 loc) · 1.18 KB
/
automate-pr.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
40
name: Pull-Reuqest
on:
schedule:
- cron: '0 */2 * * *'
jobs:
createPullRequest:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Make changes to pull request
run: date +%s > report.txt
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GH_TOKEN }}
commit-message: Update report
committer: ${{ github.actor }}
author: ${{ github.actor }}
signoff: false
branch: ${{ github.ref }}
base: main
delete-branch: true
title: 'Update ${{ github.repository }} Manual Content'
body: |
Update report
- Updated with *today's* date
- Auto-generated by [create-pull-request] ${{ github.actor }}
labels: |
report
automated pr
assignees: gurpreetsinghmatharoo,SmithTom6304
reviewers: gurpreetsinghmatharoo,SmithTom6304
team-reviewers: gurpreetsinghmatharoo,SmithTom6304
milestone: 1
draft: false