forked from canonical/operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yaml
29 lines (26 loc) · 851 Bytes
/
action.yaml
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
---
name: Update Charm Pins
description: Updates pinned versions of external charms we use to test our changes against to prevent regressions
author: Dima Tisnek <[email protected]>
branding:
icon: activity
color: orange
inputs:
workflows:
description: Whitespace-separated paths to the local workflow file, relative to repository root
required: true
gh-pat:
description: Personal access token to check out external repos from github
required: true
runs:
using: composite
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- run: python -m pip install -r .github/actions/update-charm-pins/requirements.txt
shell: bash
- run: python .github/actions/update-charm-pins/main.py '${{ inputs.workflows }}'
shell: bash
env:
GITHUB_TOKEN: ${{ inputs.gh-pat }}