test(php): add BDD suite wiring #439
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Licensed to the Apache Software Foundation (ASF) under one | |
| # or more contributor license agreements. See the NOTICE file | |
| # distributed with this work for additional information | |
| # regarding copyright ownership. The ASF licenses this file | |
| # to you under the Apache License, Version 2.0 (the | |
| # "License"); you may not use this file except in compliance | |
| # with the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, | |
| # software distributed under the License is distributed on an | |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| # KIND, either express or implied. See the License for the | |
| # specific language governing permissions and limitations | |
| # under the License. | |
| # Removes the S-stale label on contributor push / reopen / ready_for_review. | |
| # Companion to stale-prs.yml which runs with remove-stale-when-updated:false | |
| # to stop the stale bot from unmarking its own label on the next cron run. | |
| # | |
| # Comment- and review-driven unmark is handled separately by | |
| # stale-prs-unmark-on-activity.yml because issue_comment and | |
| # pull_request_review on cross-fork PRs deliver a read-only GITHUB_TOKEN. | |
| name: Unmark Stale PRs | |
| on: | |
| pull_request_target: | |
| types: [synchronize, reopened, ready_for_review] | |
| permissions: | |
| pull-requests: write | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
| cancel-in-progress: true | |
| jobs: | |
| unmark: | |
| runs-on: ubuntu-24.04-arm | |
| timeout-minutes: 2 | |
| if: contains(github.event.pull_request.labels.*.name, 'S-stale') | |
| steps: | |
| - name: Remove stale label | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| PR_NUMBER: ${{ github.event.pull_request.number }} | |
| REPO: ${{ github.repository }} | |
| # gh pr edit --remove-label uses GraphQL removeLabelsFromLabelable | |
| # which is idempotent: succeeds whether or not the label is on the | |
| # PR at API time. Avoids the 404 race with the bot or a parallel | |
| # run removing the label between event delivery and step run. | |
| run: gh pr edit "$PR_NUMBER" --repo "$REPO" --remove-label S-stale |