Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): bump the github-actions-dependencies group with 3 updates #215

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/__generate-dependabot-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main

permissions:
contents: read

jobs:
main:
uses: ./.github/workflows/generate-dependabot-config.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/__main-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
tags: ["*"]
workflow_dispatch:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/__pull-request-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ on:
pull_request:
branches: [main]

permissions:
contents: read
packages: read
statuses: write

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/__shared-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: Internal - Common Continuous Integration tasks
on:
workflow_call:

permissions:
contents: read
packages: read
statuses: write

jobs:
linter:
uses: ./.github/workflows/linter.yml
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/__test-action-matrix-outputs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Internal - Tests for set/get matrix outputs
on:
workflow_call:

permissions:
contents: read

jobs:
tests-1:
name: Arrange - Set first output
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Internal - Tests for repository-owner-is-organization action
on:
workflow_call:

permissions:
contents: read

jobs:
tests:
name: Tests for repository-owner-is-organization action
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/__test-action-slugify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ name: Internal - Tests for slugify action
on:
workflow_call:

permissions:
contents: read

jobs:
tests:
name: Tests for slugify action
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/generate-dependabot-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions:
contents: read

jobs:
generate-dependabot-config:
name: Generate Dependabot Config
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/greetings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@ on:
github-token:
description: "Token for the repository. See https://github.com/actions/first-interaction#usage"

permissions:
contents: read
issues: write
pull-requests: write

jobs:
greeting:
runs-on: ${{ inputs.runs-on && fromJson(inputs.runs-on) || 'ubuntu-latest' }}
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ on:
github-token:
description: 'Token for marking the status of linter run in the Checks section. See https://github.com/super-linter/super-linter#how-to-use'

permissions:
contents: read
packages: read
statuses: write

jobs:
checks:
runs-on: ${{ fromJson(inputs.runs-on) }}
Expand All @@ -27,7 +32,7 @@ jobs:
fetch-depth: 0

- name: 👕 Lint Code Base
uses: super-linter/super-linter/slim@v5
uses: super-linter/super-linter/slim@v6
env:
VALIDATE_ALL_CODEBASE: false
LOG_LEVEL: WARN
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/need-fix-to-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ on:
branches:
- "main"
workflow_dispatch:
#checkov:skip=CKV_GHA_7: required
inputs:
manual-commit-ref:
description: "The SHA of the commit to get the diff for"
Expand All @@ -32,14 +33,18 @@ on:
type: string
required: false

permissions:
contents: read
issues: write

jobs:
need-fix-to-issue:
runs-on: ${{ inputs.runs-on && fromJson(inputs.runs-on) || 'ubuntu-latest' }}
steps:
- uses: "actions/checkout@v4"

- name: "TODO to Issue"
uses: "alstr/todo-to-issue-action@v4.12"
uses: "alstr/todo-to-issue-action@v4.13"
with:
IDENTIFIERS: |
[
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/release-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ on:
github-app-key:
description: "GitHub App private key to generate GitHub token in place of github-token. See https://github.com/actions/create-github-app-token"

permissions:
contents: read

jobs:
prepare-release:
runs-on: ${{ fromJson(inputs.runs-on) }}
Expand All @@ -47,7 +50,7 @@ jobs:

- id: changed-files
if: ${{ inputs.update-all == false }}
uses: tj-actions/changed-files@v42.0.2
uses: tj-actions/changed-files@v44.0.0
with:
files: |
./actions/*
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ on:
type: string
required: false

permissions:
issues: write
pull-requests: write

jobs:
stale:
runs-on: ${{ inputs.runs-on && fromJson(inputs.runs-on) || 'ubuntu-latest' }}
Expand Down
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#checkov:skip=CKV_DOCKER_2: required
FROM ghcr.io/super-linter/super-linter:slim-v6

ARG UID=1000
ARG GID=1000
USER ${UID}:${GID}

ENV RUN_LOCAL=true
ENV USE_FIND_ALGORITHM=true
ENV LOG_LEVEL=WARN
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ lint: ## Execute linting
DEFAULT_WORKSPACE="$(CURDIR)"; \
LINTER_IMAGE="linter:latest"; \
VOLUME="$$DEFAULT_WORKSPACE:$$DEFAULT_WORKSPACE"; \
docker build --tag $$LINTER_IMAGE .; \
docker build --build-arg UID=$(id -u) --build-arg GID=$(id -g) --tag $$LINTER_IMAGE .; \
docker run \
-e DEFAULT_WORKSPACE="$$DEFAULT_WORKSPACE" \
-e FILTER_REGEX_INCLUDE="$(filter-out $@,$(MAKECMDGOALS))" \
Expand Down