Checkout repository.
Create a new branch with current date and a pull request.
token: GITHUB_TOKEN or areposcoped Personal Access Token (PAT). 1body: The body of the pull request. 1assignees: A comma or newline separated list of assignees (GitHub usernames). 1reviewers: A comma or newline separated list of reviewers (GitHub usernames) to request a review from. 1
name: Gives the release a custom name. Defaults to tag name. 2files: Newline-delimited list of path globs for asset files to upload. 2body_path: Path to load note-worthy description of changes in release from. 2
app-id: GitHub App ID. 3private-key: GitHub App private key. 3owner: The owner of the GitHub App installation (defaults to current repository owner). 3repositories: Comma or newline-separated list of repositories to install the GitHub App on (defaults to current repository if owner is unset). 3skip-token-revoke: If truthy, the token will not be revoked when the current job is complete. 3github-api-url: he URL of the GitHub REST API. 3
token: GitHub installation access token. 3installation-id: GitHub App installation ID. 3app-slug: GitHub App slug. 3
Setup Go.
go-version: The Go version to download (if necessary) and use. Supports semver spec and ranges. Be sure to enclose this option in single quotation marks. 4
Setup Node.js.
node-version: Version Spec of the version to use. Examples: 12.x, 10.15.1, >=10.15.0. 5scope: Optional scope for authenticating against scoped registries. Will fall back to the repository owner when using the GitHub Packages registry (https://npm.pkg.github.com/). 5registry-url: Optional registry to set up for auth. Will set the registry in a project level .npmrc and .yarnrc file, and set up auth to read in from env.NODE_AUTH_TOKEN. 5
Setup pnpm 10 and clean install dependencies.
Get current time.
date: Current date.time: Current time.rfc3339: Current date and time in RFC3339 format.
Create release.
Release npm package.
test: (Optional) Unit test.
NPM: NPM token.
Release OCI Image.
registry: (Optional) Hostname for registry. (Default:ghcr.io)username: (Optional) Username for registry. (Default:${{ github.repository_owner }})containerfile: (Optional) Pathname of a Containerfile. (Default:Containerfile)image_name: (Optional) Image name. (Default:${{ github.repository }})image_tags: Image tags, in JSON array of string.context: (Optional) Path of the context. (Default:.)build_arg: (Optional) Additional build arguments. (Default:'')
password: (Optional) Password for registry.
Deploy Cloudflare TrueNAS.
uri: URI for TrueNAS API endpoint.client_id: Client ID for Cloudflare Access.registry: (Optional) Hostname for registry. (Default:ghcr.io)username: (Optional) Username for registry. (Default:'')image_name: (Optional) Image name. (Default:${{ github.repository }})image_tag: (Optional) Image tag. (Default:latest)apps: App names, in JSON array of string.
client_secret: Client Secret for Cloudflare Access.api_key: API key for TrueNAS.password: (Optional) Password for registry.
Footnotes
-
https://github.com/peter-evans/create-pull-request/blob/main/action.yml ↩ ↩2 ↩3 ↩4
-
https://github.com/softprops/action-gh-release/blob/master/action.yml ↩ ↩2 ↩3
-
https://github.com/actions/create-github-app-token/blob/main/action.yml ↩ ↩2 ↩3 ↩4 ↩5 ↩6 ↩7 ↩8 ↩9
-
https://github.com/actions/setup-node/blob/main/action.yml ↩ ↩2 ↩3