├── .github ├── CODEOWNERS ├── dependabot.yml └── workflows │ ├── publish-immutable-action.yml │ ├── release.yml │ ├── stale.yml │ ├── test.yml │ └── update-permission-inputs.yml ├── .gitignore ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── action.yml ├── dist ├── main.cjs └── post.cjs ├── lib ├── get-permissions-from-inputs.js ├── main.js ├── post.js └── request.js ├── main.js ├── package.json ├── post.js ├── scripts ├── generated │ └── app-permissions.json └── update-permission-inputs.js └── tests ├── README.md ├── action-deprecated-inputs.test.js ├── index.js ├── main-custom-github-api-url.test.js ├── main-missing-owner.test.js ├── main-missing-repository.test.js ├── main-private-key-with-escaped-newlines.test.js ├── main-repo-skew.test.js ├── main-token-get-owner-set-fail-response.test.js ├── main-token-get-owner-set-repo-fail-response.test.js ├── main-token-get-owner-set-repo-set-to-many-newline.test.js ├── main-token-get-owner-set-repo-set-to-many.test.js ├── main-token-get-owner-set-repo-set-to-one.test.js ├── main-token-get-owner-set-repo-unset.test.js ├── main-token-get-owner-unset-repo-set.test.js ├── main-token-get-owner-unset-repo-unset.test.js ├── main-token-permissions-set.test.js ├── main.js ├── post-revoke-token-fail-response.test.js ├── post-token-expired.test.js ├── post-token-set.test.js ├── post-token-skipped.test.js ├── post-token-unset.test.js └── snapshots ├── index.js.md └── index.js.snap /.github/CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @actions/create-github-app-token-maintainers 2 | -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/workflows/publish-immutable-action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/.github/workflows/publish-immutable-action.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.github/workflows/stale.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/.github/workflows/stale.yml -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.github/workflows/update-permission-inputs.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/.github/workflows/update-permission-inputs.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .env 2 | coverage 3 | node_modules/ 4 | -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/README.md -------------------------------------------------------------------------------- /action.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/action.yml -------------------------------------------------------------------------------- /dist/main.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/dist/main.cjs -------------------------------------------------------------------------------- /dist/post.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/dist/post.cjs -------------------------------------------------------------------------------- /lib/get-permissions-from-inputs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/lib/get-permissions-from-inputs.js -------------------------------------------------------------------------------- /lib/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/lib/main.js -------------------------------------------------------------------------------- /lib/post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/lib/post.js -------------------------------------------------------------------------------- /lib/request.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/lib/request.js -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/main.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/package.json -------------------------------------------------------------------------------- /post.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/post.js -------------------------------------------------------------------------------- /scripts/generated/app-permissions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/scripts/generated/app-permissions.json -------------------------------------------------------------------------------- /scripts/update-permission-inputs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/scripts/update-permission-inputs.js -------------------------------------------------------------------------------- /tests/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/README.md -------------------------------------------------------------------------------- /tests/action-deprecated-inputs.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/action-deprecated-inputs.test.js -------------------------------------------------------------------------------- /tests/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/index.js -------------------------------------------------------------------------------- /tests/main-custom-github-api-url.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-custom-github-api-url.test.js -------------------------------------------------------------------------------- /tests/main-missing-owner.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-missing-owner.test.js -------------------------------------------------------------------------------- /tests/main-missing-repository.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-missing-repository.test.js -------------------------------------------------------------------------------- /tests/main-private-key-with-escaped-newlines.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-private-key-with-escaped-newlines.test.js -------------------------------------------------------------------------------- /tests/main-repo-skew.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-repo-skew.test.js -------------------------------------------------------------------------------- /tests/main-token-get-owner-set-fail-response.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-token-get-owner-set-fail-response.test.js -------------------------------------------------------------------------------- /tests/main-token-get-owner-set-repo-fail-response.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-token-get-owner-set-repo-fail-response.test.js -------------------------------------------------------------------------------- /tests/main-token-get-owner-set-repo-set-to-many-newline.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-token-get-owner-set-repo-set-to-many-newline.test.js -------------------------------------------------------------------------------- /tests/main-token-get-owner-set-repo-set-to-many.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-token-get-owner-set-repo-set-to-many.test.js -------------------------------------------------------------------------------- /tests/main-token-get-owner-set-repo-set-to-one.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-token-get-owner-set-repo-set-to-one.test.js -------------------------------------------------------------------------------- /tests/main-token-get-owner-set-repo-unset.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-token-get-owner-set-repo-unset.test.js -------------------------------------------------------------------------------- /tests/main-token-get-owner-unset-repo-set.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-token-get-owner-unset-repo-set.test.js -------------------------------------------------------------------------------- /tests/main-token-get-owner-unset-repo-unset.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-token-get-owner-unset-repo-unset.test.js -------------------------------------------------------------------------------- /tests/main-token-permissions-set.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main-token-permissions-set.test.js -------------------------------------------------------------------------------- /tests/main.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/main.js -------------------------------------------------------------------------------- /tests/post-revoke-token-fail-response.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/post-revoke-token-fail-response.test.js -------------------------------------------------------------------------------- /tests/post-token-expired.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/post-token-expired.test.js -------------------------------------------------------------------------------- /tests/post-token-set.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/post-token-set.test.js -------------------------------------------------------------------------------- /tests/post-token-skipped.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/post-token-skipped.test.js -------------------------------------------------------------------------------- /tests/post-token-unset.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/post-token-unset.test.js -------------------------------------------------------------------------------- /tests/snapshots/index.js.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/snapshots/index.js.md -------------------------------------------------------------------------------- /tests/snapshots/index.js.snap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/actions/create-github-app-token/HEAD/tests/snapshots/index.js.snap --------------------------------------------------------------------------------