fix(ci): do not use a name when logging in
This should fix an error with `tea`
This commit is contained in:
parent
d26caed805
commit
1624346409
1 changed files with 5 additions and 5 deletions
|
@ -21,7 +21,7 @@ jobs:
|
||||||
- run: nix run .#cargo-update
|
- run: nix run .#cargo-update
|
||||||
- name: craft PR body and commit message
|
- name: craft PR body and commit message
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -xeuo pipefail
|
||||||
|
|
||||||
echo "${COMMIT_MESSAGE}" > commit.txt
|
echo "${COMMIT_MESSAGE}" > commit.txt
|
||||||
cat cargo_update.log >> commit.txt
|
cat cargo_update.log >> commit.txt
|
||||||
|
@ -32,7 +32,7 @@ jobs:
|
||||||
echo '```' >> body.md
|
echo '```' >> body.md
|
||||||
- name: commit
|
- name: commit
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -xeuo pipefail
|
||||||
|
|
||||||
git config user.name forgejo-actions
|
git config user.name forgejo-actions
|
||||||
git config user.email forgejo-actions@salame.cl
|
git config user.email forgejo-actions@salame.cl
|
||||||
|
@ -46,7 +46,7 @@ jobs:
|
||||||
git commit --no-verify --file=commit.txt
|
git commit --no-verify --file=commit.txt
|
||||||
- name: push
|
- name: push
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -xeuo pipefail
|
||||||
git push --no-verify --force --set-upstream origin "$BRANCH_NAME"
|
git push --no-verify --force --set-upstream origin "$BRANCH_NAME"
|
||||||
- name: open new pull request
|
- name: open new pull request
|
||||||
env:
|
env:
|
||||||
|
@ -57,6 +57,6 @@ jobs:
|
||||||
# GITHUB_TOKEN: ${{ secrets.DEPS_UPDATER_GITHUB_TOKEN }}
|
# GITHUB_TOKEN: ${{ secrets.DEPS_UPDATER_GITHUB_TOKEN }}
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -xeuo pipefail
|
||||||
tea login add --name "forgejo-actions" --token "$GITHUB_TOKEN"
|
tea login add --token "$GITHUB_TOKEN"
|
||||||
tea pr create --title "${PR_TITLE}" --description "$(cat body.md)" --repo "$GITHUB_REPOSITORY"
|
tea pr create --title "${PR_TITLE}" --description "$(cat body.md)" --repo "$GITHUB_REPOSITORY"
|
||||||
|
|
Loading…
Reference in a new issue