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

🚀 gha: Bump actions/checkout from 3 to 4 #833

Merged
merged 1 commit into from
Sep 23, 2023
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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
runs-on: ubuntu-latest
steps:
- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand All @@ -90,7 +90,7 @@
runs-on: ubuntu-latest
steps:
- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper
# list of changed files within `super-linter`
Expand Down Expand Up @@ -154,7 +154,7 @@
access_token: ${{ github.token }}

- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down Expand Up @@ -344,7 +344,7 @@
echo ::set-output name=VERSION::"$(echo $GITHUB_REF | cut -d / -f 3)"

- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down Expand Up @@ -596,7 +596,7 @@
access_token: ${{ github.token }}

- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down Expand Up @@ -653,7 +653,7 @@
access_token: ${{ github.token }}

- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down Expand Up @@ -698,7 +698,7 @@
needs: upload
steps:
- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand All @@ -718,7 +718,7 @@
needs: upload
steps:
- name: Build Changelog
id: github_release

Check warning on line 721 in .github/workflows/ci.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

721:54 [comments] missing starting space in comment
uses: mikepenz/release-changelog-builder-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codacy-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

name: "Codacy Security Scan"

on:

Check warning on line 17 in .github/workflows/codacy-analysis.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

17:1 [truthy] truthy value should be one of [false, true]
push:
branches: [main, develop]
paths:
Expand Down Expand Up @@ -58,7 +58,7 @@
steps:
# Checkout the repository to the GitHub Actions runner
- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#
name: "CodeQL"

on:

Check warning on line 15 in .github/workflows/codeql-analysis.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

15:1 [truthy] truthy value should be one of [false, true]
push:
branches: [main, develop]
paths:
Expand Down Expand Up @@ -82,7 +82,7 @@
access_token: ${{ github.token }}

- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/commitlint.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
---
name: commit-lint

on: [push, pull_request]

Check warning on line 4 in .github/workflows/commitlint.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

4:1 [truthy] truthy value should be one of [false, true]

jobs:
commit-lint:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ahmadnassri/action-commit-lint@v2.1.16
with:
config: .github/linters/.commit-lint.yml
2 changes: 1 addition & 1 deletion .github/workflows/defender-for-devops.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
# and provide permission before this can report data back to azure.
# Read the official documentation here : https://learn.microsoft.com/en-us/azure/defender-for-cloud/quickstart-onboard-github

name: "Microsoft Defender For Devops"

Check warning on line 19 in .github/workflows/defender-for-devops.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

19:1 [document-start] missing document start "---"

on:

Check warning on line 21 in .github/workflows/defender-for-devops.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

21:1 [truthy] truthy value should be one of [false, true]
push:
branches: ["main"]
pull_request:
Expand All @@ -32,7 +32,7 @@
runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v3
with:
dotnet-version: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
#
# Source repository: https://github.com/actions/dependency-review-action
# Public documentation: https://docs.github.com/en/code-security/supply-chain-security/understanding-your-software-supply-chain/about-dependency-review#dependency-review-enforcement
name: "Dependency Review"

Check warning on line 7 in .github/workflows/dependency-review.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

7:1 [document-start] missing document start "---"
on: [pull_request]

Check warning on line 8 in .github/workflows/dependency-review.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

8:1 [truthy] truthy value should be one of [false, true]

permissions:
contents: read
Expand All @@ -15,6 +15,6 @@
runs-on: ubuntu-latest
steps:
- name: "Checkout Repository"
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: "Dependency Review"
uses: actions/dependency-review-action@v3
2 changes: 1 addition & 1 deletion .github/workflows/devskim-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

name: "DevSkim"

on:

Check warning on line 9 in .github/workflows/devskim-analysis.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

9:1 [truthy] truthy value should be one of [false, true]
push:
branches: [main]

Expand All @@ -27,7 +27,7 @@
security-events: write
steps:
- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: "Run DevSkim scanner"
uses: microsoft/DevSkim-Action@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:

steps:
- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4

# Install the cosign tool except on PR
# https://github.com/sigstore/cosign-installer
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: fastlane env reminder
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- uses: fastlane/github-actions/fastlane-env-reminder@latest
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
2 changes: 1 addition & 1 deletion .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4
- name: Run Labeler
if: success()
uses: crazy-max/ghaction-github-labeler@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
steps:
# Git Checkout
- name: '🧰 Checkout'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT || secrets.GITHUB_TOKEN }}
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/misspell-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
misspell-fixer:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- uses: sobolevn/misspell-fixer-action@master
- name: "Check diff"
run: git diff --exit-code ${{ github.sha }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ossar-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

steps:
- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "🧰 Checkout"
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reuse-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: "🧰 Checkout"
uses: actions/checkout@v3.3.0
uses: actions/checkout@v4
with:
# Full git history is needed to get a proper list of changed files within `super-linter`
fetch-depth: 0
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecard.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0
uses: actions/checkout@v4 # v3.1.0
with:
persist-credentials: false

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semgrep.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
runs-on: ubuntu-latest
steps:
# Checkout project source
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Scan code using project's configuration on https://semgrep.dev/manage
- uses: returntocorp/semgrep-action@0bdb313d58a33cb6fe166b1807f9f06885641184
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/write-good.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
runs-on: ubuntu-latest
name: A job to lint Markdown files
steps:
- uses: actions/checkout@v3.3.0
- uses: actions/checkout@v4
- name: write-good action step
id: write-good
uses: tomwhross/write-good-action@v1.6
Expand Down
Loading