From d34b8a2b61fb5d1f1b2c14856b8a3af895b8aca2 Mon Sep 17 00:00:00 2001 From: merwanehamadi Date: Mon, 29 May 2023 19:01:46 -0700 Subject: [PATCH] Replace 'prompt change' with 'behavior change' (#4473) * Replace 'prompt change' with 'behavior change' * replaced behavior by behaviour * fixed typo on behaviour --- .github/workflows/ci.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 368930a1..8bb85aa6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -182,7 +182,7 @@ jobs: echo "DIFF_EXISTS=false" >> $GITHUB_ENV fi - - name: Apply or remove prompt change label and comment + - name: Apply or remove behaviour change label and comment if: ${{ github.event_name == 'pull_request_target' }} run: | PR_NUMBER=${{ github.event.pull_request.number }} @@ -195,14 +195,14 @@ jobs: -H "Authorization: Bearer $TOKEN" \ -H "Accept: application/vnd.github.v3+json" \ https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels \ - -d '{"labels":["prompt change"]}' + -d '{"labels":["behaviour change"]}' echo $TOKEN | gh auth login --with-token - gh api repos/$REPO/issues/$PR_NUMBER/comments -X POST -F body="You changed AutoGPT's prompt. The cassettes have been updated and will be merged to the submodule when this Pull Request gets merged." + gh api repos/$REPO/issues/$PR_NUMBER/comments -X POST -F body="You changed AutoGPT's behaviour. The cassettes have been updated and will be merged to the submodule when this Pull Request gets merged." else echo "Removing label..." curl -X DELETE \ -H "Authorization: Bearer $TOKEN" \ -H "Accept: application/vnd.github.v3+json" \ - https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels/prompt%20change + https://api.github.com/repos/$REPO/issues/$PR_NUMBER/labels/behaviour%20change fi