From d424576977c253c995a9655afabe511dd09abfb9 Mon Sep 17 00:00:00 2001 From: Niek Palm Date: Tue, 30 Jul 2024 15:25:34 +0200 Subject: [PATCH] chore: deprecate action in favor of GitHub App token action (#360) * chore: deprecate action in favor of GitHub App token action * chore: deprecate action in favor of GitHub App token action * Update README.md Co-authored-by: Ron <45816308+rjaegers@users.noreply.github.com> --------- Co-authored-by: Ron <45816308+rjaegers@users.noreply.github.com> --- .github/dependabot.yml | 19 ------------------- README.md | 6 ++++++ 2 files changed, 6 insertions(+), 19 deletions(-) delete mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 4c83eaf..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,19 +0,0 @@ -version: 2 -updates: - # Enable version updates for npm - - package-ecosystem: 'npm' - # Look for `package.json` and `lock` files in the `root` directory - directory: '/' - # Check the npm registry for updates every day (weekdays) - schedule: - interval: 'weekly' - groups: - octokit: - patterns: - - "@octokit/*" - - - package-ecosystem: "github-actions" - directory: "/" - schedule: - # Check for updates to GitHub Actions every weekday - interval: "weekly" \ No newline at end of file diff --git a/README.md b/README.md index babccfb..be2eb15 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,11 @@ # App token action +> [!IMPORTANT] +> This action is deprecated. Please migrate to the [github-app-token-action](https://github.com/actions/create-github-app-token). +> +> Migration is almost straight forward, be-aware that GitHub actions requires the key as input and not the base64 encoded version of the private key. See [here](https://github.com/actions/create-github-app-token?tab=readme-ov-file#private-key) how to do that securely. + + A GitHub action that obtains a token for an app authorization which can used instead of a personal access token (PAT) for example. Currently the *app* and *installation* scope are supported. For more details check out the GitHub App authentication [docs](https://docs.github.com/en/free-pro-team@latest/developers/apps/authenticating-with-github-apps) Before the action can be used the APP has to be installed on the subject repository or in the organization scope.