Skip to content

Commit

Permalink
Rename commit-status-label to commit-status-context
Browse files Browse the repository at this point in the history
  • Loading branch information
kenodegard committed Jan 22, 2025
1 parent c2177b8 commit 8df586d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ jobs:
# to avoid that, GH restricts certain keywords, 'login' is one of those restricted keywords
# and hence is not a real username, https://github.com/login is the login page, not a user
contributor-login: login
commit-status-label: CLA test
commit-status-context: CLA test
token: ${{ secrets.SANDBOX_CLA_TOKEN }}
pr-token: ${{ secrets.SANDBOX_CLA_PR_TOKEN }}
fork-token: ${{ secrets.SANDBOX_CLA_FORK_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion check-cla/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ conda contributor license agreement.
| `fork-token` | GitHub token to create and push to a `repository` fork.<br>Fine-grained PAT: `administration: write; contents: write` | `${{ inputs.pr-token }}` |
| `contributor-id` | Contributor ID to check for CLA signature. | `${{ github.event.pull_request.user.id || github.event.issue.user.id }}` |
| `contributor-login` | Contributor login to check for CLA signature. | `${{ github.event.pull_request.user.login || github.event.issue.user.login }}` |
| `commit-status-label` | Commit status label/identifier. | `CLA check` |
| `commit-status-context` | Commit status label/identifier. | `CLA check` |
| `comment-blurb` | Additional comment to add to PRs for contributors who have not signed the CLA. | |

## Sample Workflows
Expand Down
4 changes: 2 additions & 2 deletions check-cla/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ inputs:
contributor-login:
description: Contributor login to check for CLA signature.
default: ${{ github.event.pull_request.user.login || github.event.issue.user.login }}
commit-status-label:
commit-status-context:
description: Commit status label/identifier.
default: CLA check
comment-blurb:
Expand All @@ -59,7 +59,7 @@ runs:
uses: conda/actions/set-commit-status@8ff3faa82ad80f5c05d91c22bcd37d897f80ca46 # v25.1.1
with:
token: ${{ inputs.token }}
context: ${{ inputs.commit-status-label }}
context: ${{ inputs.commit-status-context }}
description: Checking conda CLA...
state: pending

Expand Down

0 comments on commit 8df586d

Please sign in to comment.