-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore/update release action etc (#948)
* Don't use bot users. * Copy tweak and to-dos. * Bump versions. * Rename token.
- Loading branch information
1 parent
d1269a7
commit f634a17
Showing
3 changed files
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,11 +14,11 @@ jobs: | |
with: | ||
submodules: recursive | ||
fetch-depth: 0 | ||
token: ${{ secrets.GH_BOT_ACCESS_TOKEN }} | ||
token: ${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }} | ||
|
||
- name: Check status of the last run of the test workflow | ||
run: | | ||
gh auth login --with-token <<< "${{ secrets.GH_BOT_ACCESS_TOKEN }}" | ||
gh auth login --with-token <<< "${{ secrets.WORKFLOW_GIT_ACCESS_TOKEN }}" | ||
conclusion=$(gh run list \ | ||
--workflow=ci.yml \ | ||
|
@@ -36,11 +36,6 @@ jobs: | |
exit 1 | ||
fi | ||
- name: Setup git config | ||
run: | | ||
git config user.name "ankihub-addon-bot" | ||
git config user.email "[email protected]" | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
|
@@ -63,6 +58,8 @@ jobs: | |
- name: Commit version bump and create tag | ||
run: | | ||
git config --global user.name gh | ||
git config --global user.email "[email protected]" | ||
git commit --allow-empty -m "Bump Version to ${{ steps.vars.outputs.version }}" | ||
git push origin main | ||
git tag ${{ steps.vars.outputs.version }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
anki==23.10 | ||
aqt[qt5]==23.10 | ||
anki==24.4.1 | ||
aqt[qt6]==24.4.1 |