Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 14 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,9 @@ jobs:
needs: ["release-tree", "tests", "static-analysis", "benchmarks", "e2e"]
if: ${{ github.event_name == 'push' && github.ref_name == '1.x' }}
runs-on: "ubuntu-latest"
environment:
name: push
deployment: false
timeout-minutes: 10

concurrency:
Expand All @@ -629,11 +632,20 @@ jobs:
with:
egress-policy: audit

- name: "Mint a push token for phpstan/tally"
id: push-token
uses: actions/create-github-app-token@f418cff399f7aef4c2f0ad47e25ca7a6abbdd6fc # v3.4.0
with:
client-id: ${{ vars.PUSH_APP_CLIENT_ID }}
private-key: ${{ secrets.PUSH_APP_PRIVATE_KEY }}
repositories: tally
permission-contents: write

- name: "Checkout"
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
# a token that may bypass the branch rules, and whose push runs CI on release/1.x
token: ${{ secrets.PHPSTAN_BOT_TOKEN }}
# the phpstan-push App may bypass the branch rules, and its push runs CI on release/1.x
token: ${{ steps.push-token.outputs.token }}

- name: "Download CodSpeed's Valgrind"
uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2
Expand Down
Loading