diff --git a/.github/workflows/backport.yaml b/.github/workflows/backport.yaml index fded7d1c68c..35239ebe7a9 100644 --- a/.github/workflows/backport.yaml +++ b/.github/workflows/backport.yaml @@ -28,7 +28,7 @@ jobs: with: app-id: ${{ secrets.POETRY_TOKEN_APP_ID }} private-key: ${{ secrets.POETRY_TOKEN_APP_KEY }} - - name: cherry-pick + - name: backport.sh env: GH_TOKEN: ${{ steps.app-token.outputs.token }} run: | diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index 540783a8720..2d8f4b18a60 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -1,4 +1,4 @@ -name: "Documentation Preview" +name: Documentation Preview on: pull_request: @@ -28,13 +28,11 @@ jobs: (github.event_name == 'pull_request_target' && contains(github.event.pull_request.labels.*.name, 'impact/docs')) || (github.event_name != 'pull_request' && github.event.pull_request.head.repo.full_name == github.repository) steps: - - name: Checkout Website Source - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: repository: python-poetry/website - - name: Checkout Poetry Source - uses: actions/checkout@v4 + - uses: actions/checkout@v4 with: path: poetry ref: ${{ github.event.pull_request.head.sha }} @@ -51,8 +49,7 @@ jobs: - run: poetry install --sync --no-root --only main - - name: Build Website - run: | + - run: | # Rebuild the docs files from the PR checkout. poetry run python bin/website build --local ./poetry # Build website assets (CSS/JS). @@ -60,8 +57,7 @@ jobs: # Build the static website. hugo -v --minify - - name: Deploy Website - uses: amondnet/vercel-action@v25 + - uses: amondnet/vercel-action@v25 id: vercel-action with: vercel-token: ${{ secrets.VERCEL_TOKEN }} diff --git a/.github/workflows/lock-threads.yaml b/.github/workflows/lock-threads.yaml index 05d23ff0396..f20da9eb5f8 100644 --- a/.github/workflows/lock-threads.yaml +++ b/.github/workflows/lock-threads.yaml @@ -1,9 +1,8 @@ -name: 'Lock Threads' +name: Lock Threads on: schedule: - # at the end of everyday - - cron: '0 0 * * *' + - cron: '0 0 * * *' # every day at midnight workflow_dispatch: permissions: @@ -15,7 +14,7 @@ concurrency: group: lock-threads jobs: - action: + lock-threads: runs-on: ubuntu-latest steps: - uses: dessant/lock-threads@v5