diff --git a/check-cla/action.yml b/check-cla/action.yml index c77b08fa..f534b58a 100644 --- a/check-cla/action.yml +++ b/check-cla/action.yml @@ -50,14 +50,14 @@ runs: console.log(hasLabel); core.setOutput('hasLabel', hasLabel); + # commit status → pending - name: Set commit status with pending - uses: dholth/github-status-action@runs-using-node16 + uses: ouzi-dev/commit-status-updater@v2.0.1 with: - authToken: ${{ inputs.token }} - context: CLA check + token: ${{ inputs.token }} + name: CLA check description: Checking conda CLA... - state: pending - sha: ${{ steps.pr.outputs.sha || github.sha }} + status: pending # contributors, hasSigned - name: Check if current actor has signed @@ -157,23 +157,23 @@ runs: In order for us to review and merge your code, please e-sign the [Contributor License Agreement PDF](https://conda.io/en/latest/contributing.html#conda-contributor-license-agreement). We then need to manually verify your signature, merge the PR (${{ steps.cla-pr.outputs.pull-request-url }}), and ping the bot to refresh the PR. GITHUB_TOKEN: ${{ inputs.token }} + # commit status → error - name: Set commit status to error if: steps.contributors.outputs.hasSigned == 'false' - uses: dholth/github-status-action@runs-using-node16 + uses: ouzi-dev/commit-status-updater@v2.0.1 with: - authToken: ${{ inputs.token }} - context: CLA check + token: ${{ inputs.token }} + name: CLA check description: Please follow the details link to sign the conda CLA. → - state: error - sha: ${{ steps.pr.outputs.sha || github.sha }} - target_url: https://conda.io/en/latest/contributing.html#conda-contributor-license-agreement + url: https://conda.io/en/latest/contributing.html#conda-contributor-license-agreement + status: error + # commit status → success - name: Set commit status to success if: steps.contributors.outputs.hasSigned == 'true' - uses: dholth/github-status-action@runs-using-node16 + uses: ouzi-dev/commit-status-updater@v2.0.1 with: - authToken: ${{ inputs.token }} - context: CLA check + token: ${{ inputs.token }} + name: CLA check description: CLA signed, thank you! - state: success - sha: ${{ steps.pr.outputs.sha || github.sha }} + status: success