Skip to content

chore(deps): bump actions/upload-artifact from 4.3.1 to 4.4.1 #526

chore(deps): bump actions/upload-artifact from 4.3.1 to 4.4.1

chore(deps): bump actions/upload-artifact from 4.3.1 to 4.4.1 #526

name: "Lint: Actions"
concurrency:
group: lint-actions-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
## Check actions on merge queue insertion
merge_group: {}
## Allow this workflow to be re-used
workflow_call:
inputs:
## Network mode to apply.
network:
description: "Network"
required: false
type: string
default: audit
## Check on release
release:
types: [created]
## Check on push to `main` if modified
push:
branches:
- main
paths:
- ".github/workflows/*.yaml"
- ".github/workflows/*.yml"
- ".github/workflows/pkg/*/*.yaml"
- ".github/workflows/pkg/*/*.yml"
- "actions/*/*.yaml"
- "actions/*/*.yml"
- "containers/*/*.yaml"
- "containers/*/*.yml"
## Check each PR change against `main`
pull_request:
paths:
- ".github/workflows/*.yaml"
- ".github/workflows/*.yml"
- ".github/workflows/pkg/*/*.yaml"
- ".github/workflows/pkg/*/*.yml"
- "actions/*/*.yaml"
- "actions/*/*.yml"
- "containers/*/*.yaml"
- "containers/*/*.yml"
env:
GO_VERSION: '>=1.19.0'
permissions:
contents: read
jobs:
## Task: Lint workflows in this respository with Actions Lint
lint-workflow-actions:
name: "Workflows"
runs-on: ${{ vars.RUNNER || 'ubuntu-latest' }}
permissions:
contents: "read"
id-token: "write"
checks: "write"
pull-requests: "read"
steps:
- name: "Setup: Harden Runner"
uses: step-security/harden-runner@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.0
with:
egress-policy: ${{ inputs.network || 'audit' }}
- name: "Setup: Checkout"
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
persist-credentials: false
- name: "Setup: Go"
uses: actions/setup-go@cdcb36043654635271a94b9a6d1392de5bb323a7 # v5.0.1
with:
go-version: ${{ vars.GO_VERSION || '' }}
- name: "Setup: Action Linter"
run: go install github.com/rhysd/actionlint/cmd/actionlint@latest
- name: "Lint: Actions"
run: actionlint