generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 237
38 lines (34 loc) · 1.45 KB
/
manual-update-lockfiles.yml
File metadata and controls
38 lines (34 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
# SPDX-License-Identifier: Apache-2.0
name: Update lockfiles manually
run-name: ${{ github.workflow }} (${{ inputs.base_branch }})
on:
workflow_dispatch:
inputs:
base_branch:
description: The name of the branch on which to run `cargo update` for lockfiles
required: true
type: string
force_update_on_broken_dependencies:
description: When true, it forces `cargo update` to update broken dependencies to the latest semver-compatible versions, without downgrading them to the last known working versions
required: true
type: boolean
default: false
permissions:
contents: read
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ inputs.base_branch }}
cancel-in-progress: true
jobs:
cargo-update-runtime-lockfiles-and-sdk-lockfile:
name: Run cargo update on the runtime lockfiles and the SDK lockfile
if: ${{ github.event_name == 'workflow_dispatch' }}
uses: ./.github/workflows/pull-request-updating-lockfiles.yml
with:
base_branch: ${{ inputs.base_branch }}
force_update_on_broken_dependencies: ${{ inputs.force_update_on_broken_dependencies }}
secrets:
DOCKER_LOGIN_TOKEN_PASSPHRASE: ${{ secrets.DOCKER_LOGIN_TOKEN_PASSPHRASE }}
SMITHY_RS_ECR_PUSH_ROLE_ARN: ${{ secrets.SMITHY_RS_ECR_PUSH_ROLE_ARN }}
RELEASE_AUTOMATION_BOT_PAT: ${{ secrets.RELEASE_AUTOMATION_BOT_PAT }}