Skip to content

Commit

Permalink
chore: #81 Adjusting permission for closing a milestone
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Broudoux <[email protected]>
  • Loading branch information
lbroudoux committed Dec 16, 2024
1 parent 2cdf941 commit ed6cc7c
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
description: 'Next version after release (-SNAPSHOT will be added automatically)'
required: true
permissions:
issues: write
contents: write
deployments: write
id-token: write
Expand All @@ -38,12 +39,6 @@ jobs:
- name: Set release version
run: mvn -B -q versions:set -DnewVersion=${{ github.event.inputs.version }}

# - name: Commit & Push changes
# uses: actions-js/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# message: Releasing version ${{ github.event.inputs.version }}

- name: Commit, push and tag changes
run: |
git config user.name "microcks-bot"
Expand Down Expand Up @@ -78,12 +73,6 @@ jobs:
- name: Set next iteration version
run: mvn -B -q versions:set -DnewVersion=${{ github.event.inputs.nextVersion }}

# - name: Commit & Push changes
# uses: actions-js/[email protected]
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# message: Setting SNAPSHOT version ${{ github.event.inputs.nextVersion }}-SNAPSHOT

- name: Commit, push and tag changes
run: |
git commit -m "Setting SNAPSHOT version ${{ github.event.inputs.nextVersion }}-SNAPSHOT" .
Expand Down

0 comments on commit ed6cc7c

Please sign in to comment.