feat: update new org references (#61) #38
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
name: "Release" | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: "Release" | |
permissions: | |
contents: write # to be able to publish a github release | |
issues: write # to be able to comment on released issues | |
pull-requests: write # to be able to comment on released pull requests | |
runs-on: ubuntu-latest | |
steps: | |
- name: "🛎 Checkout" | |
uses: actions/checkout@v4 | |
- name: "🔧 Setup" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.9.0 | |
cache: 'yarn' | |
- name: "📦 Install" | |
run: yarn global add semantic-release @semantic-release/commit-analyzer @semantic-release/release-notes-generator @semantic-release/npm @semantic-release/github @semantic-release/git @semantic-release/changelog | |
- name: "🔖 Release" | |
env: | |
# appears on the release commits | |
GIT_AUTHOR_NAME: kibi-bot | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_NAME: kibi-bot | |
GIT_COMMITTER_EMAIL: [email protected] | |
# used to push the release commit and create the tags | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: semantic-release |