Skip to content

Commit

Permalink
Change default committer information (#198)
Browse files Browse the repository at this point in the history
Replace @insights-engineering-bot with @github-actions for auto-commits.
Also bump all actions.
  • Loading branch information
cicdguy authored Nov 20, 2023
1 parent c47e2aa commit af8c3ea
Show file tree
Hide file tree
Showing 20 changed files with 64 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
&& github.event.pull_request.draft == false
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Normalize inputs 🛠️
id: normalizer
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/bioccheck.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ jobs:

- name: Get branch names 🌿
id: branch-name
uses: tj-actions/branch-names@v6
uses: tj-actions/branch-names@v7

- name: Checkout repo (PR) 🛎
uses: actions/checkout@v3
Expand All @@ -101,7 +101,7 @@ jobs:
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name != 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/branch-cleanup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
shell: bash

- name: Checkout Code 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Cleanup branches 🌿
uses: phpdocker-io/github-actions-delete-abandoned-branches@v1
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-check-install.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -203,14 +203,14 @@ jobs:

- name: Get branch names 🌿
id: branch-name
uses: tj-actions/branch-names@v6
uses: tj-actions/branch-names@v7

- name: Checkout gh-pages 🛎
if: >-
inputs.publish-unit-test-report-gh-pages == true
&& github.event_name != 'pull_request'
id: checkout-gh-pages
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down Expand Up @@ -275,10 +275,10 @@ jobs:
if: >-
inputs.publish-unit-test-report-gh-pages == true
&& github.event_name != 'pull_request'
uses: actions/setup-node@v3
uses: actions/setup-node@v4
id: npm-cache
with:
node-version: 18
node-version: 20

- name: Install xunit-viewer ⚙️
if: >-
Expand All @@ -289,15 +289,15 @@ jobs:
shell: bash

- name: Checkout repo (PR) 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name == 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
path: ${{ github.event.repository.name }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name != 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
Expand Down Expand Up @@ -443,7 +443,7 @@ jobs:

- name: Fetch report from ${{ env.junit_xml_storage }} ⤵️
if: env.junit_xml_comparison == 'true'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ env.junit_xml_storage }}
fetch-depth: 0
Expand Down Expand Up @@ -812,7 +812,7 @@ jobs:
&& github.event.pull_request.draft == false
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get package build filename 📦
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/gitleaks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
&& github.event.pull_request.draft == false
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download and install gitleaks 💧
run: |
Expand All @@ -55,7 +55,7 @@ jobs:
(echo "Error moving gitleaks for /usr/bin" && exit 1)
shell: bash
env:
GITLEAKS_VERSION: "8.16.3"
GITLEAKS_VERSION: "8.18.1"

- name: Run gitleaks ☔
run: gitleaks -v detect --no-git ${{ inputs.additional-args }} --source .
Expand All @@ -70,7 +70,7 @@ jobs:
&& inputs.check-for-pii == true
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/grammar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
steps:
- name: Checkout Code 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Restore npm cache 💰
uses: actions/cache@v3
Expand All @@ -54,7 +54,7 @@ jobs:
uses: actions/setup-node@v3
id: npm-cache
with:
node-version: 18
node-version: 20

- name: Install write-good and deps ⏬
if: steps.npm-cache.outputs.cache-hit != 'true'
Expand All @@ -63,7 +63,7 @@ jobs:

- name: Get changed files 🗞
id: changed-files
uses: tj-actions/changed-files@v37
uses: tj-actions/changed-files@v40
with:
separator: ","
files: |
Expand All @@ -75,7 +75,7 @@ jobs:
**.md
- name: Run write-good 🏃‍♀️
uses: actions/github-script@v6
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/licenses.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
&& github.event.pull_request.draft == false
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Generate license report 📜
uses: insightsengineering/r-license-report@v1
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/links.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
&& github.event.pull_request.draft == false
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Check URLs in docs 🔬
uses: lycheeverse/[email protected]
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
&& github.event.pull_request.draft == false
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down Expand Up @@ -92,7 +92,7 @@ jobs:
image: ghcr.io/insightsengineering/rstudio:latest
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/pkgdown.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:

- name: Get branch names 🌿
id: branch-name
uses: tj-actions/branch-names@v6
uses: tj-actions/branch-names@v7

- name: Get current branch or tag 🏷️
id: current-branch-or-tag
Expand All @@ -158,15 +158,15 @@ jobs:
shell: bash

- name: Checkout repo (PR) 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name == 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
path: ${{ github.event.repository.name }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name != 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
Expand Down Expand Up @@ -227,7 +227,7 @@ jobs:

- name: Checkout gh-pages 🛎
if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'push'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: "gh-pages"
fetch-depth: 0
Expand Down Expand Up @@ -284,7 +284,7 @@ jobs:
&& !contains(github.event.commits[0].message, '[skip docs]')
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ github.event.repository.name }}
ref: "gh-pages"
Expand All @@ -308,7 +308,7 @@ jobs:
&& !contains(github.event.commits[0].message, '[skip docs]')
steps:
- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download artifact ⏬
uses: actions/download-artifact@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,11 @@ jobs:
shell: bash

- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Get branch names 🌿
id: branch-name
uses: tj-actions/branch-names@v6
uses: tj-actions/branch-names@v7

- name: Check if running for rc tag 🏷️
id: rc-tag
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/roxygen.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,18 @@ jobs:

- name: Get branch names 🌿
id: branch-name
uses: tj-actions/branch-names@v6
uses: tj-actions/branch-names@v7

- name: Checkout repo (PR) 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name == 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
path: ${{ github.event.repository.name }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name != 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/spelling.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
shell: bash

- name: Checkout Code 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
token: ${{ steps.github-token.outputs.token }}

Expand Down Expand Up @@ -110,11 +110,11 @@ jobs:

- name: Commit and push changes 📌
if: github.event_name == 'push'
uses: stefanzweifel/git-auto-commit-action@v4
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "[skip actions] Update WORDLIST"
file_pattern: "${{ steps.file-pattern.outputs.file-pattern }}"
commit_user_name: insights-engineering-bot
commit_user_name: github-actions
commit_user_email: >-
68416928+insights-engineering-[email protected]
41898282+github-actions[bot]@users.noreply.github.com
continue-on-error: true
6 changes: 3 additions & 3 deletions .github/workflows/style.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ jobs:

steps:
- name: Checkout Code 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
path: ${{ github.event.repository.name }}
fetch-depth: 0

- name: Get branch names 🌿
if: inputs.auto-update
id: branch-name
uses: tj-actions/branch-names@v6
uses: tj-actions/branch-names@v7

- name: Install styler 👚
run: |
Expand All @@ -60,7 +60,7 @@ jobs:

- name: Get changed files 🗞
id: changed-files
uses: tj-actions/changed-files@v35
uses: tj-actions/changed-files@v40
with:
path: ${{ github.event.repository.name }}
separator: ","
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,14 @@ jobs:

- name: Get branch names 🌿
id: branch-name
uses: tj-actions/branch-names@v6
uses: tj-actions/branch-names@v7

- name: Checkout gh-pages 🛎
if: >-
github.event_name != 'pull_request'
&& inputs.publish-coverage-report-gh-pages == true
id: checkout-gh-pages
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: gh-pages
path: gh-pages
Expand Down Expand Up @@ -166,15 +166,15 @@ jobs:
shell: bash

- name: Checkout repo (PR) 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name == 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
path: ${{ github.event.repository.name }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
if: github.event_name != 'pull_request'
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
Expand Down Expand Up @@ -303,10 +303,10 @@ jobs:
steps:
- name: Get branch names 🌿
id: branch-name
uses: tj-actions/branch-names@v6
uses: tj-actions/branch-names@v7

- name: Checkout repo 🛎
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ steps.branch-name.outputs.head_ref_branch }}
path: ${{ github.event.repository.name }}
Expand Down
Loading

0 comments on commit af8c3ea

Please sign in to comment.