Skip to content

Commit cd40fab

Browse files
authored
gha: full details for actions/checkout (#434)
1 parent bda311f commit cd40fab

File tree

4 files changed

+9
-6
lines changed

4 files changed

+9
-6
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
3535

3636
steps:
37-
- name: Checkout repository
37+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
3838
uses: actions/checkout@v3
3939

4040
# Initializes the CodeQL tools for scanning.

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Build and Publish Docker image
1313
runs-on: ubuntu-latest
1414
steps:
15-
- name: Checkout code
15+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
1616
uses: actions/checkout@v3
1717
- name: Set up QEMU
1818
uses: docker/setup-qemu-action@v2

.github/workflows/lint.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@ jobs:
1010
name: Check for broken links in Markdown files
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v3
13+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
14+
uses: actions/checkout@v3
1415
- uses: gaurav-nelson/github-action-markdown-link-check@v1
1516
with:
1617
base-branch: 'main'
@@ -21,7 +22,8 @@ jobs:
2122
name: Check Spelling Misspell All Files In Commit
2223
runs-on: ubuntu-latest
2324
steps:
24-
- uses: actions/checkout@v3
25+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
26+
uses: actions/checkout@v3
2527
- name: Install
2628
run: wget -O - -q https://git.io/misspell | sh -s -- -b .
2729
- name: Misspell
@@ -30,7 +32,8 @@ jobs:
3032
name: Run pre-commit # https://pre-commit.com/
3133
runs-on: ubuntu-latest
3234
steps:
33-
- uses: actions/checkout@v3
35+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
36+
uses: actions/checkout@v3
3437
- uses: actions/setup-python@v4 # https://www.python.org/
3538
with:
3639
python-version: '3.x' # Version range or exact version of a Python version to use, using SemVer's version range syntax

.github/workflows/super-linter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
name: Super-Linter
1414
runs-on: ubuntu-latest
1515
steps:
16-
- name: Checkout Code
16+
- name: "Checkout ${{ github.ref }} ( ${{ github.sha }} )"
1717
uses: actions/checkout@v3
1818
with:
1919
# Full git history is needed to get a proper list of changed files within `super-linter`

0 commit comments

Comments
 (0)