Skip to content

Commit

Permalink
Swap keep alive to approach
Browse files Browse the repository at this point in the history
  • Loading branch information
robsdavis committed Jan 6, 2025
1 parent 6043e1b commit 11f39ee
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 3 deletions.
18 changes: 17 additions & 1 deletion .github/workflows/test_all_tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,23 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- uses: gautamkrishnar/keepalive-workflow@v1

- name: Make Keepalive Commit
run: |
echo "Keepalive commit at $(date)" > keepalive.txt
git config --global user.name "gkr-bot"
git config --global user.email "[email protected]"
git add keepalive.txt
git commit -m "Automated commit by Keepalive Workflow to keep the repository active" || echo "No changes to commit"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Automated commit by Keepalive Workflow to keep the repository active"
title: "Keep Repository Active"
body: "This PR is automatically generated to keep the repository active."
branch: keepalive-branch

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/test_full.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,23 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- uses: gautamkrishnar/keepalive-workflow@v1

- name: Make Keepalive Commit
run: |
echo "Keepalive commit at $(date)" > keepalive.txt
git config --global user.name "gkr-bot"
git config --global user.email "[email protected]"
git add keepalive.txt
git commit -m "Automated commit by Keepalive Workflow to keep the repository active" || echo "No changes to commit"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Automated commit by Keepalive Workflow to keep the repository active"
title: "Keep Repository Active"
body: "This PR is automatically generated to keep the repository active."
branch: keepalive-branch

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down
18 changes: 17 additions & 1 deletion .github/workflows/test_tutorials.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,23 @@ jobs:
- uses: actions/checkout@v3
with:
submodules: true
- uses: gautamkrishnar/keepalive-workflow@v1

- name: Make Keepalive Commit
run: |
echo "Keepalive commit at $(date)" > keepalive.txt
git config --global user.name "gkr-bot"
git config --global user.email "[email protected]"
git add keepalive.txt
git commit -m "Automated commit by Keepalive Workflow to keep the repository active" || echo "No changes to commit"
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: "Automated commit by Keepalive Workflow to keep the repository active"
title: "Keep Repository Active"
body: "This PR is automatically generated to keep the repository active."
branch: keepalive-branch

- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
Expand Down

0 comments on commit 11f39ee

Please sign in to comment.