-
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.
Bump cookiecutter template to 5bac2f (#11)
# Changes - bumped cookiecutter template to robert-koch-institut/mex-template@5bac2f --------- Co-authored-by: Nicolas Drebenstedt <[email protected]>
- Loading branch information
1 parent
e7fbc31
commit 8aea350
Showing
7 changed files
with
40 additions
and
23 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
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,10 +1,9 @@ | ||
name: Release | ||
|
||
run-name: release version ${{ inputs.version }} by @${{ github.actor }} | ||
run-name: bump ${{ inputs.version }} version by @${{ github.actor }} | ||
|
||
on: | ||
workflow_dispatch: | ||
branches: ["main"] | ||
inputs: | ||
version: | ||
type: choice | ||
|
@@ -55,8 +54,25 @@ jobs: | |
- name: Install requirements | ||
run: make setup | ||
|
||
- name: Configure git | ||
env: | ||
SIGNING_KEY: ${{ secrets.SIGNING_KEY }} | ||
SIGNING_PUB: ${{ secrets.SIGNING_PUB }} | ||
run: | | ||
eval "$(ssh-agent -s)" | ||
install --directory ~/.ssh --mode 700 | ||
base64 -d <<< '${{ secrets.SIGNING_KEY }}' > ~/.ssh/mex | ||
base64 -d <<< '${{ secrets.SIGNING_PUB }}' > ~/.ssh/mex.pub | ||
chmod 600 ~/.ssh/* | ||
ssh-add ~/.ssh/mex | ||
git config --local user.email ${{ vars.MEX_BOT_EMAIL }} | ||
git config --local user.name ${{ vars.MEX_BOT_USER }} | ||
git config --local gpg.format ssh | ||
git config --local user.signingkey ~/.ssh/mex.pub | ||
git config --local commit.gpgsign true | ||
- name: Release new version | ||
env: | ||
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }} | ||
run: | | ||
git config --global user.name 'RKIMetadataExchange' | ||
git config --global user.email '[email protected]' | ||
pdm release ${{ inputs.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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
"enabledManagers": [ | ||
"github-actions", | ||
"html", | ||
"npm", | ||
"pep621", | ||
"pip_requirements" | ||
], | ||
|