Skip to content

Commit da3e49a

Browse files
Keepalive wf (#144)
* Added keepalive.yml wf * New line eof added
1 parent abb9eb6 commit da3e49a

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

.github/workflows/elixir-ci.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,3 @@ jobs:
9595
run: mix hex.publish --yes
9696
env:
9797
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}
98-
99-
# Prevent GitHub from suspending your cronjob based triggers due to repository inactivity
100-
keepalive:
101-
runs-on: ubuntu-latest
102-
permissions:
103-
actions: write
104-
steps:
105-
- uses: actions/checkout@v4
106-
- uses: gautamkrishnar/keepalive-workflow@v2

.github/workflows/keepalive.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Keepalive Workflow
2+
3+
on:
4+
schedule:
5+
- cron: "0 0 * * *"
6+
7+
permissions:
8+
actions: write
9+
10+
jobs:
11+
cronjob-based-github-action:
12+
name: Keepalive Workflow
13+
runs-on: ubuntu-latest
14+
steps:
15+
- uses: actions/checkout@v4
16+
- uses: gautamkrishnar/keepalive-workflow@v2
17+
with:
18+
workflow_files: "stale.yml, elixir-ci.yml, snyk.yml"
19+
time_elapsed: "0"

0 commit comments

Comments
 (0)