dword-design / base

Base package for projects.
Other
2 stars 0 forks source link

fix: update dependency gautamkrishnar/keepalive-workflow to v2 #760

Open renovate[bot] opened 6 months ago

renovate[bot] commented 6 months ago

This PR contains the following updates:

Package Update Change
gautamkrishnar/keepalive-workflow major 1 -> 2

Release Notes

gautamkrishnar/keepalive-workflow (gautamkrishnar/keepalive-workflow) ### [`v2.0.7`](https://redirect.github.com/gautamkrishnar/keepalive-workflow/releases/tag/2.0.7) [Compare Source](https://redirect.github.com/gautamkrishnar/keepalive-workflow/compare/2.0.6...2.0.7) ##### What's Changed - replace the default elapsed time value of 50 with 45 by [@​Han-Joon-Hyeok](https://redirect.github.com/Han-Joon-Hyeok) in [https://github.com/gautamkrishnar/keepalive-workflow/pull/45](https://redirect.github.com/gautamkrishnar/keepalive-workflow/pull/45) ##### New Contributors - [@​Han-Joon-Hyeok](https://redirect.github.com/Han-Joon-Hyeok) made their first contribution in [https://github.com/gautamkrishnar/keepalive-workflow/pull/45](https://redirect.github.com/gautamkrishnar/keepalive-workflow/pull/45) **Full Changelog**: https://github.com/gautamkrishnar/keepalive-workflow/compare/2.0.6...2.0.7 ### [`v2.0.6`](https://redirect.github.com/gautamkrishnar/keepalive-workflow/releases/tag/2.0.6) [Compare Source](https://redirect.github.com/gautamkrishnar/keepalive-workflow/compare/2.0.5...2.0.6) ##### What's Changed - feat: show elapsed date by [@​scarf005](https://redirect.github.com/scarf005) in [https://github.com/gautamkrishnar/keepalive-workflow/pull/43](https://redirect.github.com/gautamkrishnar/keepalive-workflow/pull/43) ##### New Contributors - [@​scarf005](https://redirect.github.com/scarf005) made their first contribution in [https://github.com/gautamkrishnar/keepalive-workflow/pull/43](https://redirect.github.com/gautamkrishnar/keepalive-workflow/pull/43) **Full Changelog**: https://github.com/gautamkrishnar/keepalive-workflow/compare/2.0.5...2.0.6 ### [`v2.0.5`](https://redirect.github.com/gautamkrishnar/keepalive-workflow/releases/tag/2.0.5) [Compare Source](https://redirect.github.com/gautamkrishnar/keepalive-workflow/compare/2.0.4...2.0.5) ##### What's Changed - Fixes: Action does not complete and causes the parent workflow to fail. (triggered by pull request from fork) [#​42](https://redirect.github.com/gautamkrishnar/keepalive-workflow/issues/42) - Fixed warnings **Full Changelog**: https://github.com/gautamkrishnar/keepalive-workflow/compare/2.0.4...2.0.5 ### [`v2.0.4`](https://redirect.github.com/gautamkrishnar/keepalive-workflow/releases/tag/2.0.4) [Compare Source](https://redirect.github.com/gautamkrishnar/keepalive-workflow/compare/2.0.3...2.0.4) ##### What's Changed - NPM Package bug fixes **Full Changelog**: https://github.com/gautamkrishnar/keepalive-workflow/compare/2.0.3...2.0.4 ### [`v2.0.3`](https://redirect.github.com/gautamkrishnar/keepalive-workflow/releases/tag/2.0.3) [Compare Source](https://redirect.github.com/gautamkrishnar/keepalive-workflow/compare/2.0.2...2.0.3) ##### What's Changed - Bug fix: Support yml and yaml by matching before @​ ([#​37](https://redirect.github.com/gautamkrishnar/keepalive-workflow/issues/37)) by [@​AlexanderOMara](https://redirect.github.com/AlexanderOMara) - Reduced time_elapsed to 45 days to avoid GitHub from sending notification emails. Thanks to [@​rfay](https://redirect.github.com/rfay) ([#​36](https://redirect.github.com/gautamkrishnar/keepalive-workflow/issues/36)) and [@​julienloizelet](https://redirect.github.com/julienloizelet) **Full Changelog**: https://github.com/gautamkrishnar/keepalive-workflow/compare/2.0.2...2.0.3 ### [`v2.0.2`](https://redirect.github.com/gautamkrishnar/keepalive-workflow/releases/tag/2.0.2) [Compare Source](https://redirect.github.com/gautamkrishnar/keepalive-workflow/compare/2.0.1...2.0.2) ##### What's Changed - Adding parent workflow name to the output **Full Changelog**: https://github.com/gautamkrishnar/keepalive-workflow/compare/2.0.1...2.0.2 ### [`v2.0.1`](https://redirect.github.com/gautamkrishnar/keepalive-workflow/releases/tag/2.0.1) [Compare Source](https://redirect.github.com/gautamkrishnar/keepalive-workflow/compare/2.0.0...2.0.1) ##### What's Changed ##### Added multi workflow keepalive Now you can keep multiple Github actions alive using a single keepalive workflow. Previously you had to add separate keepalive workflow to all the cronjob-triggered Github actions for this to happen. ##### Example Let's assume that you have some build workflows: - `.github/workflows/build1.yml` ```yaml name: Build 20 on: schedule: - cron: "0 0 * * *" jobs: publish-npm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: "20" cache: "yarn" - run: yarn install --frozen-lockfile - run: yarn build ``` - `.github/workflows/build2.yml` ```yaml name: Build 19 on: schedule: - cron: "0 0 * * *" jobs: publish-npm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: "19" cache: "yarn" - run: yarn install --frozen-lockfile - run: yarn build ``` You can now keep both of these workflows active using the following keepalive workflow code: `.github/workflows/keepalive.yml` ```yaml 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: "build1.yml, build2.yml" time_elapsed: "0" ``` Result: ![result](https://redirect.github.com/gautamkrishnar/keepalive-workflow/assets/8397274/1996d763-1b89-43d5-af86-aa0c3e2159aa) ##### Other changes - Fix readme to have permissions in correct place by [@​rfay](https://redirect.github.com/rfay) in [https://github.com/gautamkrishnar/keepalive-workflow/pull/26](https://redirect.github.com/gautamkrishnar/keepalive-workflow/pull/26) - fix: typo in dummy commit config by [@​shihyuho](https://redirect.github.com/shihyuho) in [https://github.com/gautamkrishnar/keepalive-workflow/pull/28](https://redirect.github.com/gautamkrishnar/keepalive-workflow/pull/28) ##### New Contributors - [@​rfay](https://redirect.github.com/rfay) made their first contribution in [https://github.com/gautamkrishnar/keepalive-workflow/pull/26](https://redirect.github.com/gautamkrishnar/keepalive-workflow/pull/26) - [@​shihyuho](https://redirect.github.com/shihyuho) made their first contribution in [https://github.com/gautamkrishnar/keepalive-workflow/pull/2](https://redirect.github.com/gautamkrishnar/keepalive-workflow/pull/2) **Full Changelog**: https://github.com/gautamkrishnar/keepalive-workflow/compare/2.0.0...2.0.1 ### [`v2.0.0`](https://redirect.github.com/gautamkrishnar/keepalive-workflow/releases/tag/2.0.0) [Compare Source](https://redirect.github.com/gautamkrishnar/keepalive-workflow/compare/1.2.6...2.0.0) ##### Version 2 šŸŽ‰ āœØ For a long time, this workflow was using a dummy commit approach to keep the repositories active, this method was effective but came with a side effect. It automatically creates a dummy commit every 50 days, which makes this workflow un-usable for many serious open-source projects, since they heavily rely on commit history. To keep the repository active, this was the only option when I created this workflow. GitHub made some changes recently, now simply calling the GitHub Action API's enable API Call will keep the workflow active indefinitely. This feature was added to this workflow as an opt-in feature for people to use. Version 2 will make this method the default method for the keep-alive workflow. People who are using `v1` and `master` tags of this workflow will continue using the dummy commit method since the newly added API-based method requires explicit permission for the API Keys for it to function. ##### Migrating from v1 to v2 If you are an existing user which used this workflow's v1 version, you can easily migrate to v2 by simply updating the permissions key in your workflow: Change: ```yaml permissions: contents: write ``` to ```yaml permissions: actions: write ``` And change the workflow's version from `gautamkrishnar/keepalive-workflow@v1` or `gautamkrishnar/keepalive-workflow@master` to `gautamkrishnar/keepalive-workflow@v2`. This will automatically start using the workflow's API based method. No more dummy commits šŸ•ŗ . ##### What's Changed - Updated the workflow to v2 to make use of API keepalive method by default instead of dummy commit based method **Full Changelog**: https://github.com/gautamkrishnar/keepalive-workflow/compare/v1...2.0.0

Configuration

šŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

šŸš¦ Automerge: Disabled by config. Please merge this manually once you are satisfied.

ā™» Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

šŸ”• Ignore: Close this PR and you won't be reminded about this update again.



This PR was generated by Mend Renovate. View the repository job log.