From 1bf8c29da15737460f2b39d3752db4eceba68a69 Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Thu, 23 Jan 2025 10:02:18 -0500 Subject: [PATCH] ci: run pull proxy action on main Signed-off-by: Chris Gianelloni --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 57733cf..3378499 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -2,6 +2,7 @@ name: publish on: push: + branches: ['main'] tags: - 'v*.*.*' @@ -16,6 +17,7 @@ jobs: - run: "echo \"RELEASE_TAG=${GITHUB_REF#refs/tags/}\" >> $GITHUB_ENV" - uses: actions/github-script@v7 id: create-release + if: startsWith(github.ref, 'refs/tags/') with: github-token: ${{ secrets.GITHUB_TOKEN }} result-encoding: string