From 21888a04a61e646c4b557a5f5a2c19027f9c0e2a Mon Sep 17 00:00:00 2001 From: xpyctumo <30053565+xpyctumo@users.noreply.github.com> Date: Thu, 29 May 2025 19:27:20 +0300 Subject: [PATCH 1/3] ci: dispatch when new Tact release is coming (for Web IDE) --- .github/workflows/release.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/release.yml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000000..9a64e9504c --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,16 @@ +name: Bump version in dependency repositories + +on: + release: + types: [published] + +jobs: + dispatch: + runs-on: ubuntu-latest + steps: + - name: Send repository_dispatch to web-ide + uses: peter-evans/repository-dispatch@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + repository: tact-lang/web-ide + event-type: update From 1a1e97077d22f336b5c44cb46c9cf9ac1dbd1685 Mon Sep 17 00:00:00 2001 From: xpyctumo <30053565+xpyctumo@users.noreply.github.com> Date: Thu, 29 May 2025 19:41:31 +0300 Subject: [PATCH 2/3] fix(ci): Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- .github/workflows/release.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9a64e9504c..05d67fb8d7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,6 +7,8 @@ on: jobs: dispatch: runs-on: ubuntu-latest + permissions: + contents: read steps: - name: Send repository_dispatch to web-ide uses: peter-evans/repository-dispatch@v3 From 677ce17cbf45807f48f49833a68ddcea1c081348 Mon Sep 17 00:00:00 2001 From: xpyctumo <30053565+xpyctumo@users.noreply.github.com> Date: Mon, 2 Jun 2025 14:27:56 +0300 Subject: [PATCH 3/3] fix: update token permissions --- .github/workflows/release.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 05d67fb8d7..64827a496b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Bump version in dependency repositories on: + workflow_dispatch: {} release: types: [published] @@ -8,7 +9,7 @@ jobs: dispatch: runs-on: ubuntu-latest permissions: - contents: read + contents: write steps: - name: Send repository_dispatch to web-ide uses: peter-evans/repository-dispatch@v3