diff --git a/.github/workflows/rhel_registry_description.yml b/.github/workflows/rhel_registry_description.yml index 4b0ecb485..4c4115eae 100644 --- a/.github/workflows/rhel_registry_description.yml +++ b/.github/workflows/rhel_registry_description.yml @@ -46,10 +46,12 @@ jobs: uses: step-security/harden-runner@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 with: disable-sudo: true - egress-policy: audit + egress-policy: block allowed-endpoints: > + catalog.redhat.com:443 + files.pythonhosted.org:443 github.com:443 - hub.docker.com:443 + pypi.org:443 - name: Checkout repository uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 @@ -110,11 +112,12 @@ jobs: echo "::endgroup::" echo "matrix_build=${MATRIX_BUILD}" >> $GITHUB_OUTPUT - - uses: actions/setup-python@v4 + - name: Setup Python 3.x + uses: actions/setup-python@v4 with: python-version: '3.x' - - name: install python packages + - name: Install Python packages run: | python -m pip install --upgrade pip pip install markdown requests