Update config and docs from template
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -2,6 +2,8 @@ name: Continuous Integration
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|||||||
8
.github/workflows/linter.yml
vendored
8
.github/workflows/linter.yml
vendored
@@ -1,7 +1,14 @@
|
|||||||
|
# This workflow will lint the entire codebase using the
|
||||||
|
# `super-linter/super-linter` action.
|
||||||
|
#
|
||||||
|
# For more information, see the super-linter repository:
|
||||||
|
# https://github.com/super-linter/super-linter
|
||||||
name: Lint Codebase
|
name: Lint Codebase
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
|
branches:
|
||||||
|
- main
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
@@ -29,4 +36,5 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
DEFAULT_BRANCH: main
|
DEFAULT_BRANCH: main
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
|
LINTER_RULES_PATH: ${{ github.workspace }}
|
||||||
VALIDATE_ALL_CODEBASE: false
|
VALIDATE_ALL_CODEBASE: false
|
||||||
|
|||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -21,5 +21,4 @@ Thumbs.db
|
|||||||
|
|
||||||
# IDE files
|
# IDE files
|
||||||
.idea
|
.idea
|
||||||
.vscode
|
|
||||||
*.code-workspace
|
*.code-workspace
|
||||||
|
|||||||
12
README.md
12
README.md
@@ -1,8 +1,10 @@
|
|||||||
# Container Prebuilt Action Template
|
# Create a Container Prebuilt Action
|
||||||
|
|
||||||
[](https://github.com/super-linter/super-linter)
|
[](https://github.com/super-linter/super-linter)
|
||||||
|
[](https://github.com/actions/container-prebuilt-action/actions/workflows/check-dist.yml)
|
||||||

|

|
||||||

|
[](https://github.com/actions/container-prebuilt-action/actions/workflows/codeql-analysis.yml)
|
||||||
|
[](./badges/coverage.svg)
|
||||||
|
|
||||||
Use this template to bootstrap the creation of a container action. :rocket:
|
Use this template to bootstrap the creation of a container action. :rocket:
|
||||||
|
|
||||||
@@ -177,7 +179,7 @@ So, what are you waiting for? Go ahead and start customizing your action!
|
|||||||
Your action is now published! :rocket:
|
Your action is now published! :rocket:
|
||||||
|
|
||||||
For information about versioning your action, see
|
For information about versioning your action, see
|
||||||
[Versioning](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)
|
[Versioning](https://github.com/actions/toolkit/blob/main/docs/action-versioning.md)
|
||||||
in the GitHub Actions toolkit.
|
in the GitHub Actions toolkit.
|
||||||
|
|
||||||
## Releasing Versions
|
## Releasing Versions
|
||||||
@@ -198,7 +200,7 @@ As part of the pull request, make sure to update the
|
|||||||
|
|
||||||
After testing, you can create version tag(s) that developers can use to
|
After testing, you can create version tag(s) that developers can use to
|
||||||
reference different stable versions of your action. For more information, see
|
reference different stable versions of your action. For more information, see
|
||||||
[Versioning](https://github.com/actions/toolkit/blob/master/docs/action-versioning.md)
|
[Versioning](https://github.com/actions/toolkit/blob/main/docs/action-versioning.md)
|
||||||
in the GitHub Actions toolkit.
|
in the GitHub Actions toolkit.
|
||||||
|
|
||||||
To include the action in a workflow in another repository, you can use the
|
To include the action in a workflow in another repository, you can use the
|
||||||
@@ -209,7 +211,7 @@ hash.
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
id: checkout
|
id: checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: Test Local Action
|
- name: Test Local Action
|
||||||
id: test-action
|
id: test-action
|
||||||
|
|||||||
Reference in New Issue
Block a user