From dd84615c49601894aeff2e8126280d885f87fd7f Mon Sep 17 00:00:00 2001 From: Vitaliy Sidorenko Date: Thu, 28 Nov 2024 18:01:00 +0100 Subject: [PATCH] feat: trigger ci on any branch Signed-off-by: Vitaliy Sidorenko --- .github/workflows/package.yml | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/package.yml b/.github/workflows/package.yml index 80e0283f..0ed5a3d0 100644 --- a/.github/workflows/package.yml +++ b/.github/workflows/package.yml @@ -1,7 +1,7 @@ on: push: branches: - - main + - '**' name: Package @@ -11,9 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v2 - with: - ref: main + uses: actions/checkout@v4 + - name: Install packages run: npm ci - name: Run linter @@ -25,4 +24,4 @@ jobs: git config --global user.name "GitHub Actions" git add dist/ git commit -m "Update dist" || echo "No changes to commit" - git push origin main + git push origin HEAD