Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add keepalive using GitHub actions API #22

Closed
2 tasks done
gautamkrishnar opened this issue Feb 15, 2024 · 2 comments
Closed
2 tasks done

Add keepalive using GitHub actions API #22

gautamkrishnar opened this issue Feb 15, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@gautamkrishnar
Copy link
Owner

gautamkrishnar commented Feb 15, 2024

Now GitHub supports re-enabling the workflows using GitHub API.

gh api -X PUT repos/{ repo }/actions/workflows/{ actionFile }/enable

ToDo

  • Provide API for action developers to use this approach
  • Add this as an option to the keepalive workflow

ref: #1

@gautamkrishnar gautamkrishnar self-assigned this Feb 15, 2024
@gautamkrishnar gautamkrishnar added the enhancement New feature or request label Feb 15, 2024
@gautamkrishnar
Copy link
Owner Author

@all-contributors please add @liskin for ideas

Copy link
Contributor

@gautamkrishnar

I've put up a pull request to add @liskin! 🎉

OriHoch added a commit to OriHoch/keepalive-workflow that referenced this issue Feb 10, 2025
* updated with rw instructions

* add lgmorand as a contributor for code (gautamkrishnar#19)

---------
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Gautam krishna R <rgautamkrishna@gmail.com>

* added contribution credits

* added branch protection check, ref: gautamkrishnar#17

* [skip-ci] Published 1.2.0

* updated docs

* remove unwanted dep

* [skip-ci] Published 1.2.1

* setting default as false in v3, ref: gautamkrishnar#20

* [skip-ci] Published 1.2.2

* migrated to node 20

closes: gautamkrishnar#21

* [skip-ci] Published 1.2.3

* migrated CI to node 20

* added GitHub API mode, fixes: gautamkrishnar#22

* migrated to esbuild, upgrade packages

* fixed type bug

* update docs

* update docs

* [skip-ci] Published 1.2.4

* clarify the usage of checkout workflow

* [skip-ci] Published 1.2.5

* Update README.md

* use default gh api url

* add liskin as a contributor for ideas (gautamkrishnar#24)

* update README.md [skip ci]

* update .all-contributorsrc [skip ci]

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>

* update docs to use permissions

* [skip-ci] Published 1.2.6

* update action param doc

* updated with best practices

---------

Co-authored-by: Gautam krishna R <rgautamkrishna@gmail.com>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Gautam Krishna R <r.gautamkrishna@gmail.com>
Co-authored-by: gkr-bot <gkr@tuta.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant