-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (32 loc) · 990 Bytes
/
test-job.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
name: Tests - Create Hacker News hiring table script
on:
push:
branches:
- aw_test_job
jobs:
create-table:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./
steps:
- uses: actions/checkout@v3
- name: Configure date
run: |
YEAR=2024
echo "YEAR=${YEAR}" >> $GITHUB_ENV
MONTH=December
echo "MONTH=${MONTH}" >> $GITHUB_ENV
- name: Run create table
run: |
touch test.txt
echo "Running create table" >> test.txt
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
commit-message: "Update documents"
title: "Update Documents"
body: "This is an auto-generated PR with document updates"
branch: "your-branch-name" # The same branch name used in the git push command
delete-branch: true # Set to true to delete the branch after merge
draft: false