Compare commits
4
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef741caab5 | ||
|
|
20749b7294 | ||
|
|
3f1903e205 | ||
|
|
cfb49a3e58 |
+19
-15
@@ -1,30 +1,34 @@
|
|||||||
version: 2
|
version: 2
|
||||||
|
|
||||||
|
multi-ecosystem-groups:
|
||||||
|
minor-and-patch:
|
||||||
|
schedule:
|
||||||
|
interval: 'quarterly'
|
||||||
|
commit-message:
|
||||||
|
prefix: 'fix'
|
||||||
|
prefix-development: 'build'
|
||||||
|
include: 'scope'
|
||||||
|
|
||||||
updates:
|
updates:
|
||||||
- package-ecosystem: 'npm'
|
- package-ecosystem: 'npm'
|
||||||
directory: '/'
|
directory: '/'
|
||||||
schedule:
|
patterns: ['*']
|
||||||
interval: 'monthly'
|
multi-ecosystem-group: 'minor-and-patch'
|
||||||
groups:
|
groups:
|
||||||
production-dependencies:
|
production:
|
||||||
dependency-type: 'production'
|
dependency-type: 'production'
|
||||||
update-types:
|
update-types:
|
||||||
- minor
|
- minor
|
||||||
- patch
|
- patch
|
||||||
development-dependencies:
|
development:
|
||||||
dependency-type: 'development'
|
dependency-type: 'development'
|
||||||
update-types:
|
update-types:
|
||||||
- minor
|
- minor
|
||||||
- patch
|
- patch
|
||||||
commit-message:
|
|
||||||
prefix: 'fix'
|
|
||||||
prefix-development: 'build'
|
|
||||||
include: 'scope'
|
|
||||||
- package-ecosystem: 'github-actions'
|
- package-ecosystem: 'github-actions'
|
||||||
directory: '/'
|
directory: '/'
|
||||||
schedule:
|
patterns: ['*']
|
||||||
interval: 'monthly'
|
multi-ecosystem-groups: 'minor-and-patch'
|
||||||
groups:
|
update-types:
|
||||||
github-actions:
|
- minor
|
||||||
update-types:
|
- patch
|
||||||
- minor
|
|
||||||
- patch
|
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
name: 'Publish Immutable Action'
|
||||||
|
|
||||||
|
on:
|
||||||
|
release:
|
||||||
|
types: [published]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
publish:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
id-token: write
|
||||||
|
packages: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v6
|
||||||
|
- name: Publish Immutable Action
|
||||||
|
uses: actions/[email protected]
|
||||||
Vendored
+1
-1
@@ -23352,7 +23352,7 @@ async function run() {
|
|||||||
ensureNativeProxySupport();
|
ensureNativeProxySupport();
|
||||||
const clientId = getInput("client-id") || getInput("app-id");
|
const clientId = getInput("client-id") || getInput("app-id");
|
||||||
if (!clientId) {
|
if (!clientId) {
|
||||||
throw new Error("The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string. If using a secret or variable, ensure it is available in this workflow context.");
|
throw new Error("Either 'client-id' or 'app-id' input must be set");
|
||||||
}
|
}
|
||||||
const privateKey = getInput("private-key");
|
const privateKey = getInput("private-key");
|
||||||
const owner = getInput("owner");
|
const owner = getInput("owner");
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ async function run() {
|
|||||||
|
|
||||||
const clientId = core.getInput("client-id") || core.getInput("app-id");
|
const clientId = core.getInput("client-id") || core.getInput("app-id");
|
||||||
if (!clientId) {
|
if (!clientId) {
|
||||||
throw new Error("The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string. If using a secret or variable, ensure it is available in this workflow context.");
|
throw new Error("Either 'client-id' or 'app-id' input must be set");
|
||||||
}
|
}
|
||||||
const privateKey = core.getInput("private-key");
|
const privateKey = core.getInput("private-key");
|
||||||
const owner = core.getInput("owner");
|
const owner = core.getInput("owner");
|
||||||
|
|||||||
Generated
+2
-2
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "create-github-app-token",
|
"name": "create-github-app-token",
|
||||||
"version": "3.1.1",
|
"version": "3.1.0",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "create-github-app-token",
|
"name": "create-github-app-token",
|
||||||
"version": "3.1.1",
|
"version": "3.1.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@actions/core": "^3.0.0",
|
"@actions/core": "^3.0.0",
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
"name": "create-github-app-token",
|
"name": "create-github-app-token",
|
||||||
"private": true,
|
"private": true,
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"version": "3.1.1",
|
"version": "3.1.0",
|
||||||
"description": "GitHub Action for creating a GitHub App Installation Access Token",
|
"description": "GitHub Action for creating a GitHub App Installation Access Token",
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=24.4.0"
|
"node": ">=24.4.0"
|
||||||
|
|||||||
@@ -56,11 +56,11 @@ POST /api/v3/app/installations/123456/access_tokens
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`main-missing-client-and-app-id.test.js > stderr 1`] = `
|
exports[`main-missing-client-and-app-id.test.js > stderr 1`] = `
|
||||||
The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string. If using a secret or variable, ensure it is available in this workflow context.
|
Either 'client-id' or 'app-id' input must be set
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`main-missing-client-and-app-id.test.js > stdout 1`] = `
|
exports[`main-missing-client-and-app-id.test.js > stdout 1`] = `
|
||||||
::error::The 'client-id' (or deprecated 'app-id') input must be set to a non-empty string. If using a secret or variable, ensure it is available in this workflow context.
|
::error::Either 'client-id' or 'app-id' input must be set
|
||||||
`;
|
`;
|
||||||
|
|
||||||
exports[`main-missing-owner.test.js > stderr 1`] = `
|
exports[`main-missing-owner.test.js > stderr 1`] = `
|
||||||
|
|||||||
Reference in New Issue
Block a user