Compare commits

...

5 Commits

Author SHA1 Message Date
Gregor Martynus 803e078eb5 feat: use node20 as runner (#23)
should be available now as per
https://github.com/actions/runner/issues/2619#issuecomment-1679003443
2023-08-22 10:24:39 -07:00
Gregor Martynus 9cf7227dfb ci(release): set version on release and push using git plugin (#22) 2023-08-22 09:25:53 -07:00
Parker Brown 7bbad93287 build(CODEOWNERS): update team name (#16) 2023-08-21 21:44:58 -07:00
Parker Brown e5568a0249 ci(dependabot config): initial version (#15)
Configures Dependabot version updates, which enables Dependabot to open
pull requests automatically to keep dependencies up-to-date when new
versions are available.
2023-08-21 21:44:26 -07:00
Gregor Martynus cb1fcdda59 fix(README): fix name in usage examples (#12) 2023-08-21 15:09:16 -07:00
6 changed files with 28 additions and 13 deletions
+1 -1
View File
@@ -1 +1 @@
* @gr2m @parkerbxyz @actions/github-app-token-maintainers
* @gr2m @parkerbxyz @actions/create-github-app-token-maintainers
+10
View File
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: "monthly"
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
+1 -6
View File
@@ -26,12 +26,7 @@ jobs:
with:
app_id: ${{ vars.RELEASER_APP_ID }}
private_key: ${{ secrets.RELEASER_APP_PRIVATE_KEY }}
- id: commit
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "build: update dist files"
- run: npm i semantic-release-plugin-github-breaking-version-tag
- run: npm install --no-save @semantic-release/git semantic-release-plugin-github-breaking-version-tag
- run: npx semantic-release
env:
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
+2 -2
View File
@@ -19,7 +19,7 @@ jobs:
hello-world:
runs-on: ubuntu-latest
steps:
- uses: actions/github-app-token@v1
- uses: actions/create-github-app-token@v1
id: app-token
with:
app_id: ${{ vars.APP_ID }}
@@ -40,7 +40,7 @@ jobs:
auto-format:
runs-on: ubuntu-latest
steps:
- uses: actions/github-app-token@v1
- uses: actions/create-github-app-token@v1
id: app-token
with:
# required
+1 -1
View File
@@ -15,6 +15,6 @@ outputs:
token:
description: "GitHub installation access token"
runs:
using: "node16"
using: "node20"
main: "dist/main.cjs"
post: "dist/post.cjs"
+13 -3
View File
@@ -1,8 +1,8 @@
{
"name": "app-token-action",
"name": "create-github-app-token",
"private": true,
"type": "module",
"version": "1.0.0",
"version": "1.0.5",
"description": "GitHub Action for creating a GitHub App Installation Access Token",
"scripts": {
"build": "esbuild main.js post.js --bundle --outdir=dist --out-extension:.js=.cjs --platform=node --target=node16.16",
@@ -27,7 +27,17 @@
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"semantic-release-plugin-github-breaking-version-tag"
"semantic-release-plugin-github-breaking-version-tag",
[
"@semantic-release/git",
{
"assets": [
"package.json",
"dist/*"
],
"message": "build(release): ${nextRelease.version} [skip ci]\n\n${nextRelease.notes}"
}
]
]
}
}