Skip to content

Commit

Permalink
fix: Add write access permission to deploy actions
Browse files Browse the repository at this point in the history
closes #33

Signed-Off-By: Mark Hüsers <mark.huesers@etas.com>
  • Loading branch information
Chrylo committed Nov 13, 2023
1 parent 5dfcc45 commit 43ccc1a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/deploy-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
tags:
- 'release/v*'

permissions: write-all

jobs:
deployment:
runs-on: ubuntu-latest
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/deploy-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ on:
branches:
- main

permissions: write-all

jobs:
deployment:
runs-on: ubuntu-latest
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
* limitations under the License.
*
* SPDX-License-Identifier: Apache-2.0
*
*/

package org.eclipse.kuksa.version
Expand Down Expand Up @@ -58,6 +57,6 @@ class SemanticVersion(semanticVersion: String) {
patch = versions[2].toInt()
this.suffix = suffix

print("New SemanticVersion($versionString)")
print("Current SemanticVersion($versionString)\n")
}
}

0 comments on commit 43ccc1a

Please sign in to comment.