Skip to content

Commit

Permalink
Merge pull request #3 from amber-beasley-liatrio/fix/bump
Browse files Browse the repository at this point in the history
fix: bump
  • Loading branch information
amber-beasley-liatrio authored Dec 5, 2024
2 parents 127b031 + 44d9adc commit ecb52f7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 10 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@ name: Build
on:
push:
branches:
- "*"

permissions:
id-token: write
contents: read
attestations: write
packages: write
- "**"

jobs:
build:
Expand All @@ -27,7 +21,6 @@ jobs:
path: evaluation-results.json

go-semantic-release:
if: ${{ github.ref == 'refs/heads/main' }}
needs: [build]
runs-on: ubuntu-latest
permissions:
Expand All @@ -41,8 +34,9 @@ jobs:
- uses: octo-sts/action@6177b4481c00308b3839969c3eca88c96a91775f # v1.0.0
id: octo-sts
with:
# can only run on main branch
scope: amber-beasley-liatrio/learning-actions
identity: main-semantic-release
identity: ${{ github.ref_name == 'main' && github.ref_name || 'pr' }}-semantic-release

- name: Run go-semantic-release
id: go-semantic-release
Expand Down
2 changes: 1 addition & 1 deletion version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '0.0.0'
__version__ = '0.0.1'

0 comments on commit ecb52f7

Please sign in to comment.