Skip to content

Commit 0aab037

Browse files
committed
install all needed dependencies for IAM DB update
1 parent bb2a6d1 commit 0aab037

File tree

2 files changed

+12
-7
lines changed

2 files changed

+12
-7
lines changed

.github/workflows/update.yml

+10-5
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,25 @@ on:
66
- cron: '0 0 1 * *'
77
workflow_dispatch:
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
update-actions:
1114
runs-on: ubuntu-latest
15+
permissions:
16+
contents: write
17+
pull-requests: write
1218
steps:
13-
- name: checkout
14-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
19+
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
1520
- name: Setup python
1621
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
1722
with:
1823
python-version: '3.8'
1924
- name: install dependencies
20-
run: pip install requests schema PyYAML click click_log beautifulsoup4
25+
run: |
26+
pip install -r requirements.txt
27+
pip install click_log
2128
- name: install policy_sentry
2229
run: echo "PYTHONPATH=$(pwd)" >> "$GITHUB_ENV"
2330
- name: Run initialize
@@ -48,12 +55,10 @@ jobs:
4855
needs: update-actions
4956
steps:
5057
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
51-
5258
- name: Setup Python
5359
uses: actions/setup-python@39cd14951b08e74b54015e9e001cdefcf80e669f # v5.1.1
5460
with:
5561
python-version: '3.8'
56-
5762
- name: Install dependencies
5863
run: |
5964
pip install -r requirements.txt

requirements.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ click==8.1.7
44
beautifulsoup4==4.12.3
55
requests==2.32.3
66
# Config files and schema validation
7-
PyYAML==6.0.1
7+
PyYAML==6.0.2
88
schema==0.7.7
99
# IAM DB
10-
orjson==3.10.6
10+
orjson==3.10.7

0 commit comments

Comments
 (0)