jjjjjj
This commit is contained in:
parent
10ba7e9999
commit
cc27a87a03
|
@ -20,7 +20,7 @@ jobs:
|
|||
run: |
|
||||
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
|
||||
chmod +x ./tea
|
||||
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.TEA_TOKEN }}
|
||||
./tea login add -n=this --url=${{ github.server_url}} -t=${{ github.token }}
|
||||
echo ::set-env name=PR::$(./tea pr ls -f=base,head,index | grep "| master | ${{ github.ref_name }} |" | tr -d ' ' | tr "|" "\n" | head -n 4 | tail -1)
|
||||
rm ./tea
|
||||
- name: get build branch name
|
||||
|
|
|
@ -73,7 +73,7 @@ jobs:
|
|||
run: |
|
||||
curl https://dl.gitea.com/tea/0.9.2/tea-0.9.2-linux-386 --output tea
|
||||
chmod +x ./tea
|
||||
./tea login add -n=this --url=${{ github.server_url}} -t=${{ secrets.TEA_TOKEN }}
|
||||
./tea login add -n=this --url=${{ github.server_url}} -t=${{ github.token }}
|
||||
if [[ $(./tea pr ls -f=base,head | grep "| master | ${{ env.DEVELOPMENT_BRANCH }} |" | head -c1 | wc -c) -eq 0 ]]; then
|
||||
./tea pr c --base=master --head=${{ env.DEVELOPMENT_BRANCH }} --description="development pull request" -t="WIP: ${{ github.event.head_commit.message }}"
|
||||
fi
|
||||
|
|
|
@ -25,7 +25,7 @@ jobs:
|
|||
continue-on-error: true
|
||||
- uses: mainmatter/continue-on-error-comment@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.TEA_TOKEN }}
|
||||
repo-token: ${{ github.token }}
|
||||
outcome: ${{ steps.delete_develop_branch.outcome }}
|
||||
test-id: Error code ${{ matrix.code }}
|
||||
- name: get build branch name
|
||||
|
@ -39,7 +39,7 @@ jobs:
|
|||
continue-on-error: true
|
||||
- uses: mainmatter/continue-on-error-comment@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.TEA_TOKEN }}
|
||||
repo-token: ${{ github.token }}
|
||||
outcome: ${{ steps.delete_build_branch.outcome }}
|
||||
test-id: Error code ${{ matrix.code }}
|
||||
- name: get build format branch name
|
||||
|
@ -53,7 +53,7 @@ jobs:
|
|||
continue-on-error: true
|
||||
- uses: mainmatter/continue-on-error-comment@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.TEA_TOKEN }}
|
||||
repo-token: ${{ github.token }}
|
||||
outcome: ${{ steps.delete_format_branch.outcome }}
|
||||
test-id: Error code ${{ matrix.code }}
|
||||
|
Loading…
Reference in New Issue