Skip to content

Update dependency phpunit/phpunit to v11 #44

Update dependency phpunit/phpunit to v11

Update dependency phpunit/phpunit to v11 #44

Workflow file for this run

name: PR Deploy
on:
issue_comment:
types: [created]
jobs:
slash-command:
name: Slash Command
runs-on: ubuntu-latest
steps:
- uses: xt0rted/slash-command-action@v2
with:
command: deploy
reaction-type: rocket
- id: request
uses: octokit/request-action@v2.x
with:
route: ${{ github.event.issue.pull_request.url }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/github-script@v7
with:
script: |
github.rest.actions.createWorkflowDispatch({
owner: context.repo.owner,
repo: context.repo.repo,
workflow_id: 'deploy.yaml',
ref: '${{ fromJson(steps.request.outputs.data).head.ref }}',
inputs: {
environment: 'staging',
tag: 'pr-${{ github.event.issue.number }}',
}
})