Bladeren bron

fix: fix actions

metya 2 jaren geleden
bovenliggende
commit
1d9158e227
2 gewijzigde bestanden met toevoegingen van 7 en 6 verwijderingen
  1. 7 4
      .github/workflows/bumpversion.yml
  2. 0 2
      .github/workflows/deploy.yml

+ 7 - 4
.github/workflows/bumpversion.yml

@@ -6,17 +6,20 @@ on:
       - master
 
 jobs:
-  bump-version:
+  bump_version:
     if: "!startsWith(github.event.head_commit.message, 'bump:')"
     runs-on: ubuntu-latest
     name: "Bump version and create changelog with commitizen"
     steps:
       - name: Check out
-        uses: actions/checkout@v3
+        uses: actions/checkout@v2
         with:
-          token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
           fetch-depth: 0
-      - name: Create bump and changelog
+          token: "${{ secrets.PERSONAL_ACCESS_TOKEN }}"
+      - id: cz
+        name: Create bump and changelog
         uses: commitizen-tools/commitizen-action@master
         with:
           github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
+      - name: Print Version
+        run: echo "Bumped to version ${{ steps.cz.outputs.version }}"

+ 0 - 2
.github/workflows/deploy.yml

@@ -2,8 +2,6 @@ name: Deploy bot with docker-compose
 
 on:
   push:
-    branches:
-      - master
     tags:
       - v1.*