Merge pull request #39 from actions/dependabot/github_actions/actions/checkout-6

Bump actions/checkout from 5 to 6
This commit is contained in:
Nick Alteen
2025-12-05 11:26:30 -05:00
committed by GitHub
3 changed files with 12 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ jobs:
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Setup Docker BuildX
id: setup-buildx
@@ -62,7 +62,7 @@ jobs:
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
- name: Test Local Action
id: test-action

View File

@@ -21,7 +21,7 @@ jobs:
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
@@ -32,4 +32,6 @@ jobs:
DEFAULT_BRANCH: main
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
VALIDATE_ALL_CODEBASE: true
VALIDATE_BIOME_FORMAT: false
VALIDATE_BIOME_LINT: false
VALIDATE_GITHUB_ACTIONS_ZIZMOR: false

View File

@@ -7,5 +7,12 @@ WORKDIR /usr/src
# Copy any source file(s) required for the action
COPY entrypoint.sh .
# Create a non-root user and switch to it
RUN addgroup -S actiongroup && adduser -S actionuser -G actiongroup && \
chown -R actionuser:actiongroup /usr/src && \
chmod +x /usr/src/entrypoint.sh
USER actionuser
# Configure the container to be run as an executable
ENTRYPOINT ["/usr/src/entrypoint.sh"]