Skip to content

Commit

Permalink
Keepalive wf (#144)
Browse files Browse the repository at this point in the history
* Added keepalive.yml wf

* New line eof added
  • Loading branch information
novalisdenahi authored Nov 19, 2024
1 parent abb9eb6 commit da3e49a
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/elixir-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,3 @@ jobs:
run: mix hex.publish --yes
env:
HEX_API_KEY: ${{ secrets.HEX_API_KEY }}

# Prevent GitHub from suspending your cronjob based triggers due to repository inactivity
keepalive:
runs-on: ubuntu-latest
permissions:
actions: write
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2
19 changes: 19 additions & 0 deletions .github/workflows/keepalive.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Keepalive Workflow

on:
schedule:
- cron: "0 0 * * *"

permissions:
actions: write

jobs:
cronjob-based-github-action:
name: Keepalive Workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: gautamkrishnar/keepalive-workflow@v2
with:
workflow_files: "stale.yml, elixir-ci.yml, snyk.yml"
time_elapsed: "0"

0 comments on commit da3e49a

Please sign in to comment.