diff --git a/.github/workflows/pydocs-preview.yml b/.github/workflows/pydocs-preview.yml index 3c76253..c995168 100644 --- a/.github/workflows/pydocs-preview.yml +++ b/.github/workflows/pydocs-preview.yml @@ -20,7 +20,7 @@ jobs: ref: ${{ github.event.pull_request.head.sha }} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2 with: python-version: '3.9' architecture: 'x64' @@ -37,7 +37,7 @@ jobs: pydoc-markdown -vv - name: Upload markdown artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2 with: name: docs-dir path: docs/ @@ -49,12 +49,12 @@ jobs: steps: - name: Checkout docs repository - uses: actions/checkout@v2 + uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 with: repository: 'PaloAltoNetworks/cortex.pan.dev' - name: Download markdown artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2 with: name: docs-dir path: docs/ @@ -70,7 +70,7 @@ jobs: - name: Create Pull Request id: pydocs - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3 with: token: ${{ secrets.PYDOC_TOKEN }} commit-message: Update pydocs diff --git a/.github/workflows/pydocs-publish.yml b/.github/workflows/pydocs-publish.yml index 429a927..7ceb276 100644 --- a/.github/workflows/pydocs-publish.yml +++ b/.github/workflows/pydocs-publish.yml @@ -18,7 +18,7 @@ jobs: uses: actions/checkout@v2 - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@e9aba2c848f5ebd159c070c61ea2c4e2b122355e # v2 with: python-version: '3.9' architecture: 'x64' @@ -33,7 +33,7 @@ jobs: run: | pydoc-markdown -vv - name: Upload markdown artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@82c141cc518b40d92cc801eee768e7aafc9c2fa2 # v2 with: name: docs-dir path: docs/ @@ -45,12 +45,12 @@ jobs: steps: - name: Checkout docs repository - uses: actions/checkout@v2 + uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 with: repository: 'PaloAltoNetworks/cortex.pan.dev' - name: Download markdown artifacts - uses: actions/download-artifact@v2 + uses: actions/download-artifact@cbed621e49e4c01b044d60f6c80ea4ed6328b281 # v2 with: name: docs-dir path: docs/ @@ -65,7 +65,7 @@ jobs: git status - name: Create Pull Request id: pydocs - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@18f7dc018cc2cd597073088f7c7591b9d1c02672 # v3 with: token: ${{ secrets.PYDOC_TOKEN }} commit-message: 🐍 Update pydocs diff --git a/.github/workflows/pypi_publish.yml b/.github/workflows/pypi_publish.yml index f78b5da..7c602c7 100644 --- a/.github/workflows/pypi_publish.yml +++ b/.github/workflows/pypi_publish.yml @@ -9,9 +9,9 @@ jobs: if: github.repository_owner == 'PaloAltoNetworks' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - name: Set up Python - uses: actions/setup-python@v1 + uses: actions/setup-python@0f07f7f756721ebd886c2462646a35f78a8bc4de # v1 with: python-version: '3.x' - name: Install dependencies diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e80e7f4..859ba66 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,9 +17,9 @@ jobs: python-version: [3.5, 3.6, 3.7, 3.8, 3.9] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@0f07f7f756721ebd886c2462646a35f78a8bc4de # v1 with: python-version: ${{ matrix.python-version }} - name: Install dependencies