Skip to content

Commit 1c189df

Browse files
authored
Automate aws user agent variable (#88)
* create workflow to update collection variables
1 parent 063ee61 commit 1c189df

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: aws-variables
2+
on:
3+
workflow_call:
4+
5+
jobs:
6+
user-agent:
7+
runs-on: ubuntu-latest
8+
permissions:
9+
contents: write
10+
11+
steps:
12+
- name: Update aws user-agent variable
13+
uses: ansible-network/github_actions/.github/actions/commit_to_pullrequest@main
14+
with:
15+
commit_message: "update aws user-agent variable with version from galaxy.yml"
16+
python_libs: "pyyaml"
17+
python_executable_url: "https://raw.githubusercontent.com/ansible-network/github_actions/main/scripts/update_aws_user_agent.py"
18+
file_pattern: "plugins/*.py"
19+
20+
boto-constraints:
21+
runs-on: ubuntu-latest
22+
permissions:
23+
contents: write
24+
25+
steps:
26+
- name: Update collection tests constraints
27+
uses: ansible-network/github_actions/.github/actions/commit_to_pullrequest@main
28+
with:
29+
commit_message: "update botocore and boto3 tests constraints"
30+
python_executable_url: "https://raw.githubusercontent.com/ansible-network/github_actions/main/scripts/update_aws_boto_constraints.py"

0 commit comments

Comments
 (0)