From ea26ba35c20bf01e5d49e9d384e343d8b36aef70 Mon Sep 17 00:00:00 2001 From: Jonghyeon Ko Date: Wed, 15 Oct 2025 12:41:19 +0900 Subject: [PATCH 1/2] ci: oidc --- .github/workflows/{deployment.yml => release.yml} | 6 +++++- src/docs/en/contributing.md | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) rename .github/workflows/{deployment.yml => release.yml} (97%) diff --git a/.github/workflows/deployment.yml b/.github/workflows/release.yml similarity index 97% rename from .github/workflows/deployment.yml rename to .github/workflows/release.yml index 2c836d5e..86653006 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,4 @@ -name: Deployment +name: Release on: push: @@ -35,6 +35,10 @@ jobs: deploy: runs-on: ubuntu-latest + permissions: + id-token: write + contents: write + pull-requests: write needs: check-changes if: ${{ needs.check-changes.outputs.changed == 'true' }} steps: diff --git a/src/docs/en/contributing.md b/src/docs/en/contributing.md index d7c55c15..59850f7c 100644 --- a/src/docs/en/contributing.md +++ b/src/docs/en/contributing.md @@ -275,9 +275,9 @@ All `react-simplikit` implementations use special rendering functions to verify ::: -### Deployment +### Release -When changes are merged into the `main` branch, deployment happens automatically. You can view the deployment results in [GitHub Actions](https://github.com/toss/react-simplikit/actions). +When changes are merged into the `main` branch, release happens automatically. You can view the release results in [GitHub Actions](https://github.com/toss/react-simplikit/actions). ## Documentation Contribution From d90c8a9cf0bb0576ec69660e656acdecfda1104a Mon Sep 17 00:00:00 2001 From: Jonghyeon Ko Date: Wed, 15 Oct 2025 12:44:49 +0900 Subject: [PATCH 2/2] ci: update release workflow to include itself in change checks --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 86653006..c162cde5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -32,13 +32,13 @@ jobs: - 'src/**/*.ts' - 'src/**/*.tsx' - 'tsup.config.ts' + - '.github/workflows/release.yml' deploy: runs-on: ubuntu-latest permissions: - id-token: write contents: write - pull-requests: write + id-token: write needs: check-changes if: ${{ needs.check-changes.outputs.changed == 'true' }} steps: