diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9f84a3c..19303b0 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,16 +9,16 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 with: fetch-depth: 1 - name: Set up Python 3.11 - uses: actions/setup-python@v2 + uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 with: python-version: 3.11.11 - - uses: actions/cache@v3 + - uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684 with: path: ~/.cache/pip key: ${{ runner.os }}-pip-${{ hashFiles('setup.py') }} @@ -54,12 +54,12 @@ jobs: python-version: ['3.9', '3.10', '3.11', '3.12', '3.13'] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 with: fetch-depth: 1 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 with: python-version: ${{ matrix.python-version }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6350fbc..11e9798 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -12,13 +12,13 @@ jobs: TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }} steps: - name: Checkout the repository - uses: actions/checkout@v2 + uses: actions/checkout@85e6279cec87321a52edac9c87bce653a07cf6c2 with: fetch-depth: 0 token: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }} - name: Set up Python - uses: actions/setup-python@v2 + uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 - name: Detect version run: echo "REPO_VERSION=$(python3 posthog/version.py)" >> $GITHUB_ENV @@ -30,7 +30,7 @@ jobs: run: make release && make release_analytics - name: Create GitHub release - uses: actions/create-release@v1 + uses: actions/create-release@0cb9c9b65d5d1901c1f53e5e66eaf4afd303e70e # v1 env: GITHUB_TOKEN: ${{ secrets.POSTHOG_BOT_GITHUB_TOKEN }} with: