Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |