Repository navigation
revert(dream): DREAM_AGENT_PAID_PERCENT back to 25 (revert #23208) (#… #1
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
| name: Release Eligibility | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| env: | |
| # Abort a git HTTP transfer that stays under 1 KB/s for 60 s, so actions/checkout | |
| # retries instead of hanging 7-10 min until the TCP reset (#22890). | |
| GIT_HTTP_LOW_SPEED_LIMIT: "1000" | |
| GIT_HTTP_LOW_SPEED_TIME: "60" | |
| jobs: | |
| release-eligibility: | |
| name: Release Eligibility | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout exact SHA | |
| uses: actions/checkout@v7 | |
| with: | |
| ref: ${{ github.sha }} | |
| fetch-depth: 0 | |
| - name: Resolve deterministic-check range | |
| id: range | |
| run: | | |
| set -euo pipefail | |
| if [[ "${{ github.event_name }}" == "push" ]]; then | |
| echo "before=${{ github.event.before }}" >> "$GITHUB_OUTPUT" | |
| echo "after=${{ github.event.after }}" >> "$GITHUB_OUTPUT" | |
| else | |
| echo "before=$(git rev-parse --verify HEAD^)" >> "$GITHUB_OUTPUT" | |
| echo "after=$(git rev-parse --verify HEAD)" >> "$GITHUB_OUTPUT" | |
| fi | |
| - name: Verify release eligibility | |
| uses: ./.github/actions/release-eligibility | |
| with: | |
| ref: ${{ github.ref }} | |
| sha: ${{ github.sha }} | |
| before: ${{ steps.range.outputs.before }} | |
| after: ${{ steps.range.outputs.after }} |