Skip to content

Commit b48dca5

Browse files
committed
chore: relocate script
Signed-off-by: Niccolò Fei <niccolo.fei@enterprisedb.com>
1 parent dc4906d commit b48dca5

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

.github/actions/generate-catalogs/action.yml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,6 @@ inputs:
2626
runs:
2727
using: composite
2828
steps:
29-
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
30-
with:
31-
repository: cloudnative-pg/postgres-containers
32-
ref: ${{ github.action_ref }}
33-
path: catalog-generator
34-
sparse-checkout-cone-mode: false
35-
sparse-checkout: |
36-
.github/catalogs_generator.py
37-
3829
- name: Set up Python
3930
uses: actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6
4031
with:
@@ -48,7 +39,7 @@ runs:
4839
- name: Generate catalogs
4940
shell: bash
5041
run: |
51-
python catalog-generator/.github/catalogs_generator.py \
42+
python "$GITHUB_ACTION_PATH/catalogs_generator.py" \
5243
${{ inputs.registry && format('--registry "{0}"', inputs.registry) || '' }} \
5344
${{ inputs.image-types && format('--image-types "{0}"', inputs.image-types) || '' }} \
5445
${{ inputs.distributions && format('--distributions "{0}"', inputs.distributions) || '' }} \

.github/catalogs_generator.py renamed to .github/actions/generate-catalogs/catalogs_generator.py

File renamed without changes.

0 commit comments

Comments
 (0)