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

Bump actions/checkout from 3 to 4 #3292

Merged
merged 1 commit into from
Sep 5, 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
2 changes: 1 addition & 1 deletion .github/workflows/check-license.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

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

- name: Install Ruby
uses: ruby/setup-ruby@v1
Expand All @@ -60,7 +60,7 @@
DETECTED_LICENSE_TYPE="$(echo "$LICENSEE_OUTPUT" | jq .matched_files[0].matched_license | tr --delete '\r')"
echo "Detected license type: $DETECTED_LICENSE_TYPE"
if [ "$DETECTED_LICENSE_TYPE" != "\"${EXPECTED_LICENSE_TYPE}\"" ]; then
echo "::error file=${DETECTED_LICENSE_FILE}::detected license type $DETECTED_LICENSE_TYPE doesn't match expected \"${EXPECTED_LICENSE_TYPE}\""

Check warning on line 63 in .github/workflows/check-license.yml

View workflow job for this annotation

GitHub Actions / Generate problem matcher output

63:121 [line-length] line too long (154 > 120 characters)

Check warning on line 63 in .github/workflows/check-license.yml

View workflow job for this annotation

GitHub Actions / Generate problem matcher output

63:121 [line-length] line too long (154 > 120 characters)
EXIT_STATUS=1
fi

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-markdown.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

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

- name: Initialize markdownlint-cli problem matcher
uses: xt0rted/markdownlint-problem-matcher@v2
Expand All @@ -50,7 +50,7 @@ jobs:

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

- name: Determine whether only modified files should be checked
id: check-modified
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-prettier-formatting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ jobs:

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

- name: Install Prettier
run: sudo npm install --global prettier
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

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

- name: Install markdown-toc
run: sudo npm install --global markdown-toc
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-workflows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:

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

- name: Download JSON schema for GitHub Actions workflows
id: download-schema
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-yaml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:

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

- name: Check YAML
continue-on-error: ${{ matrix.configuration.continue-on-error }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/manage-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
--output "${{ steps.configuration.outputs.path }}/{}" \
--header "Authorization: token $GITHUB_TOKEN" \
--header "Accept: application/vnd.github.v3.{}" \
https://api.github.com/repos/${{ github.repository_owner }}/${{ github.event.repository.name }}/pulls/${{ github.event.pull_request.number }}${{ github.event.issue.number }}

Check warning on line 106 in .github/workflows/manage-prs.yml

View workflow job for this annotation

GitHub Actions / Generate problem matcher output

106:121 [line-length] line too long (189 > 120 characters)

Check warning on line 106 in .github/workflows/manage-prs.yml

View workflow job for this annotation

GitHub Actions / Generate problem matcher output

106:121 [line-length] line too long (189 > 120 characters)
' \
::: \
${{ env.DIFF_IDENTIFIER }} \
Expand Down Expand Up @@ -134,7 +134,7 @@

steps:
- name: Checkout local repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download submission parser
id: download-parser
Expand Down Expand Up @@ -474,7 +474,7 @@

- name: Checkout index source branch
if: steps.merge.outcome == 'success'
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: production

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

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

- name: Spell check
uses: codespell-project/actions-codespell@master
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-labels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

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

- name: Download JSON schema for labels configuration file
id: download-schema
Expand Down Expand Up @@ -67,7 +67,7 @@
- name: Download
uses: carlosperate/download-file-action@v2
with:
file-url: https://raw.githubusercontent.com/arduino/tooling-project-assets/main/workflow-templates/assets/sync-labels/${{ matrix.filename }}

Check warning on line 70 in .github/workflows/sync-labels.yml

View workflow job for this annotation

GitHub Actions / Generate problem matcher output

70:121 [line-length] line too long (150 > 120 characters)

Check warning on line 70 in .github/workflows/sync-labels.yml

View workflow job for this annotation

GitHub Actions / Generate problem matcher output

70:121 [line-length] line too long (150 > 120 characters)

- name: Pass configuration files to next job via workflow artifact
uses: actions/upload-artifact@v3
Expand All @@ -85,7 +85,7 @@
steps:
- name: Set environment variables
run: |
# See: https://docs.github.com/en/actions/reference/workflow-commands-for-github-actions#setting-an-environment-variable

Check warning on line 88 in .github/workflows/sync-labels.yml

View workflow job for this annotation

GitHub Actions / Generate problem matcher output

88:121 [line-length] line too long (130 > 120 characters)

Check warning on line 88 in .github/workflows/sync-labels.yml

View workflow job for this annotation

GitHub Actions / Generate problem matcher output

88:121 [line-length] line too long (130 > 120 characters)
echo "MERGED_CONFIGURATION_PATH=${{ runner.temp }}/labels.yml" >> "$GITHUB_ENV"

- name: Determine whether to dry run
Expand All @@ -105,7 +105,7 @@
echo "::set-output name=flag::--dry-run"

- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Download configuration files artifact
uses: actions/download-artifact@v3
Expand Down
Loading