Skip to content

Commit

Permalink
back to basic version bumper
Browse files Browse the repository at this point in the history
  • Loading branch information
abocchieri committed Dec 9, 2024
1 parent 6fe0a08 commit 482e3d5
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions .github/workflows/version-bump.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,20 @@
name: Version Bump
name: Auto Dev Version Bumper

on:
push:
branches:
- develop

permissions:
contents: write # Grants necessary write permissions to the token for git push and tag operations

jobs:
bump_version:
version-bump:
runs-on: ubuntu-latest

steps:
# Step 1: Checkout repository with GITHUB_TOKEN
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }} # Ensures git push and tag operations are authenticated

# Step 2: Run the auto-dev-version-bumper action in Docker
- name: Run auto-dev-version-bumper
uses: LorenzoMugnai/auto-dev-version-bumper@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Pass GITHUB_TOKEN explicitly
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 482e3d5

Please sign in to comment.