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

chore(deps): update actions/checkout action to v3.6.0 #182

Merged
merged 1 commit into from
Aug 25, 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/auto_update_charm_libs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v3.5.3
uses: actions/checkout@v3.6.0
with:
fetch-depth: 0
- name: Check libs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build_charmcraft_cache.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Build Charmcraft Cache
runs-on: ${{ inputs.runs-on }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- uses: canonical/[email protected]
- name: Generate charmcraft cache key
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
outputs:
images: ${{ env.DOCKER_IMAGES }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Get dockerfiles
working-directory: ${{ inputs.working-directory }}
run: >
Expand All @@ -59,7 +59,7 @@ jobs:
matrix:
image: ${{ fromJSON(needs.get-images.outputs.images) }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Log in to the Container registry
uses: docker/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_rocks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
echo "Invalid value for cache-action. It must be 'save' or 'restore'"
exit 1
fi
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Generate rock paths and images
id: gen-rock-paths-and-images
uses: actions/[email protected]
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
matrix:
path: ${{ fromJSON(needs.get-rocks.outputs.rock-paths) }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Extract rock information
run: |
IMAGE_NAME=$(yq '.name' "${{ matrix.path }}/rockcraft.yaml")
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-22.04
if: github.event.workflow_run.event == 'pull_request'
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Download test report artifact
uses: actions/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/get_runner_image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
channel: ${{ env.BUILD_ON_CHANNEL }}
runs-on: ${{ env.BUILD_ON }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Get build-on value
working-directory: ${{ inputs.working-directory }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ jobs:
outputs:
charm-file: ${{ env.CHARM_FILE }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- uses: canonical/[email protected]
- name: Extract charm name
working-directory: ${{ inputs.working-directory }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/integration_test_run.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ jobs:
runs-on: ${{ inputs.runs-on }}
if: ${{ !failure() }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Setup Devstack Swift
if: ${{ inputs.setup-devstack-swift }}
id: setup-devstack-swift
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/promote_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
needs: get-runner-image
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- run: |
set -e
origin_track=$(echo ${{ inputs.origin-channel }} | cut -d "/" -f 1)
Expand All @@ -44,7 +44,7 @@ jobs:
runs-on: ${{ needs.get-runner-image.outputs.runs-on }}
needs: [validate-channels, get-runner-image]
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Release charm to channel
uses: canonical/charming-actions/[email protected]
with:
Expand All @@ -59,7 +59,7 @@ jobs:
name: Draft publish docs
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Search for docs folder
id: docs-exist
run: echo "docs_exist=$([[ -d docs ]] && echo 'True' || echo 'False')" >> $GITHUB_OUTPUT
Expand All @@ -77,7 +77,7 @@ jobs:
name: Publish docs
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Search for docs folder
id: docs-exist
run: echo "docs_exist=$([[ -d docs ]] && echo 'True' || echo 'False')" >> $GITHUB_OUTPUT
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/publish_charm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
needs: [ branch-up-to-date-check-enabled ]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Search for docs folder
id: docs-exist
run: echo "docs_exist=$([[ -d docs ]] && echo 'True' || echo 'False')" >> $GITHUB_OUTPUT
Expand All @@ -65,7 +65,7 @@ jobs:
needs: [ branch-up-to-date-check-enabled ]
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- if: inputs.working-directory != './'
name: Change directory
run: |
Expand Down Expand Up @@ -120,7 +120,7 @@ jobs:
outputs:
images: ${{ env.IMAGES }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Get images
working-directory: ${{ inputs.working-directory }}
run: |
Expand All @@ -137,7 +137,7 @@ jobs:
needs: [ get-images, get-run-id, get-runner-image]
if: ${{ needs.get-images.outputs.images != '[]' }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- if: inputs.working-directory != './'
name: Change directory
run: |
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
needs: [get-run-id, get-runner-image, publish-images]
if: ${{ !failure() }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- if: inputs.working-directory != './'
name: Change directory
run: |
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
with:
repository: canonical/Inclusive-naming
path: ${{ inputs.working-directory }}
- run: mv * /tmp
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Merge configuration files
run: |
# Combine all entries and replace matching elements by
Expand Down Expand Up @@ -74,7 +74,7 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Gather files to scan
shell: bash
id: gather
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Check for Dockerfiles
id: dockerfiles
run: echo -n "found=$(find . -name "*Dockerfile" -printf "${{ inputs.working-directory }}%p ")" >> $GITHUB_OUTPUT
Expand All @@ -155,7 +155,7 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Check file existence
id: metadata-yaml
run: echo "exists=$([ -f metadata.yaml ] && echo "true" || echo "false")" >> $GITHUB_OUTPUT
Expand All @@ -174,7 +174,7 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Pre-run script
if: ${{ inputs.pre-run-script != '' }}
run: bash -xe ${{ inputs.pre-run-script }}
Expand Down Expand Up @@ -298,7 +298,7 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Search for docs folder
id: docs-exist
run: echo "docs_exist=$([[ -d docs ]] && echo 'True' || echo 'False')" >> $GITHUB_OUTPUT
Expand All @@ -318,7 +318,7 @@ jobs:
run:
working-directory: ${{ inputs.working-directory }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Check .licenserc.yaml exists
id: licenserc-yaml
run: echo "exists=$([ -f .licenserc.yaml ] && echo "true" || echo "false")" >> $GITHUB_OUTPUT
Expand All @@ -334,7 +334,7 @@ jobs:
name: Check libraries
runs-on: ${{ inputs.self-hosted-runner && fromJson('[''self-hosted'', ''large'']') || 'ubuntu-22.04' }}
steps:
- uses: actions/checkout@v3.5.3
- uses: actions/checkout@v3.6.0
- name: Check libs
if: ${{ !github.event.pull_request.head.repo.fork }}
uses: canonical/charming-actions/[email protected]
Expand Down
Loading