build(deps): bump i18next from 21.3.3 to 23.4.6 #47
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
release: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: checkout | ||
uses: actions/checkout@v3 | ||
with: | ||
ref: develop | ||
- name: setup git | ||
run: | | ||
git config user.name "Github Actions" | ||
git config user.email "[email protected]" | ||
- name: create branch | ||
git switch -c release_${{ inputs.version }} | ||
git tag -f ${{ inputs.version }} | ||
#push branch | ||
git push origin release_${{ inputs.version }} | ||
#push tag | ||
git push origin ${{ inputs.version }} | ||
- name: release assets | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
bodyFile: "release.md" | ||
name: ${{ inputs.version }} | ||
tag: ${{ inputs.version }} | ||
commit: develop | ||
- name: pull request | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
gh api --method POST \ | ||
-H 'Accept: application/vnd.github+json' -H 'X-GitHub-Api-Version: 2022-11-28' \ | ||
/repos/${{ github.repository }}/pulls \ | ||
-f title='${{ inputs.version }}' \ | ||
-f head='release_${{ inputs.version }}' \ | ||
-f base="master" |