From dbf8325cd356048ee345bd46cfcd5961535e8530 Mon Sep 17 00:00:00 2001 From: Nick Alteen Date: Fri, 11 Jul 2025 13:41:10 -0400 Subject: [PATCH] Update config and docs from template --- .github/workflows/ci.yml | 2 ++ .github/workflows/linter.yml | 8 ++++++++ .gitignore | 1 - README.md | 12 +++++++----- 4 files changed, 17 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fe1de4f..da72e7c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2,6 +2,8 @@ name: Continuous Integration on: pull_request: + branches: + - main push: branches: - main diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 11e3ba7..6957483 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -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 on: pull_request: + branches: + - main push: branches: - main @@ -29,4 +36,5 @@ jobs: env: DEFAULT_BRANCH: main GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + LINTER_RULES_PATH: ${{ github.workspace }} VALIDATE_ALL_CODEBASE: false diff --git a/.gitignore b/.gitignore index dcff431..65d0ac8 100644 --- a/.gitignore +++ b/.gitignore @@ -21,5 +21,4 @@ Thumbs.db # IDE files .idea -.vscode *.code-workspace diff --git a/README.md b/README.md index 87f6bcb..8dc3819 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,10 @@ -# Container Prebuilt Action Template +# Create a Container Prebuilt Action [![GitHub Super-Linter](https://github.com/actions/container-prebuilt-action/actions/workflows/linter.yml/badge.svg)](https://github.com/super-linter/super-linter) +[![Check dist/](https://github.com/actions/container-prebuilt-action/actions/workflows/check-dist.yml/badge.svg)](https://github.com/actions/container-prebuilt-action/actions/workflows/check-dist.yml) ![CI](https://github.com/actions/container-prebuilt-action/actions/workflows/ci.yml/badge.svg) -![CD](https://github.com/actions/container-prebuilt-action/actions/workflows/cd.yml/badge.svg) +[![CodeQL](https://github.com/actions/container-prebuilt-action/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/actions/container-prebuilt-action/actions/workflows/codeql-analysis.yml) +[![Coverage](./badges/coverage.svg)](./badges/coverage.svg) 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: 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. ## 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 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. To include the action in a workflow in another repository, you can use the @@ -209,7 +211,7 @@ hash. steps: - name: Checkout id: checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Test Local Action id: test-action