diff --git a/.github/workflows/release_charm.md b/.github/workflows/release_charm.md index a98c1dd8..83f6059f 100644 --- a/.github/workflows/release_charm.md +++ b/.github/workflows/release_charm.md @@ -28,7 +28,7 @@ jobs: secrets: charmhub-token: ${{ secrets.CHARMHUB_TOKEN }} permissions: - contents: write # Needed to create GitHub release + contents: write # Needed to create git tags ``` ### metadata.yaml required @@ -44,4 +44,4 @@ With "unified charmcraft.yaml syntax", charmcraft extracts the data back into ac Benefits of separate files: - no difference in files between source repository and *.charm artifact that would be confusing to developers - comments in YAML files retained -- charmcraft just copies the files into the *.charm artifact, instead of using more complicated logic to extract that information (which would create more surface area for bugs) \ No newline at end of file +- charmcraft just copies the files into the *.charm artifact, instead of using more complicated logic to extract that information (which would create more surface area for bugs) diff --git a/.github/workflows/release_rock.md b/.github/workflows/release_rock.md index 8086c75d..63bbeae0 100644 --- a/.github/workflows/release_rock.md +++ b/.github/workflows/release_rock.md @@ -30,7 +30,7 @@ jobs: artifact-prefix: ${{ needs.build.outputs.artifact-prefix }} permissions: packages: write # Needed to publish to GitHub Container Registry - contents: write # Needed to create GitHub release + contents: write # Needed to create git tags ``` Grant package `Write` role to GitHub Actions for the source GitHub repository: https://docs.github.com/en/packages/learn-github-packages/configuring-a-packages-access-control-and-visibility#ensuring-workflow-access-to-your-package diff --git a/.github/workflows/release_snap.md b/.github/workflows/release_snap.md index 6d3d9dd8..8cf28bc8 100644 --- a/.github/workflows/release_snap.md +++ b/.github/workflows/release_snap.md @@ -32,7 +32,7 @@ jobs: secrets: snap-store-token: ${{ secrets.SNAP_STORE_TOKEN }} permissions: - contents: write # Needed to create GitHub release + contents: write # Needed to create git tags ``` `SNAP_STORE_TOKEN` should be generated with `SNAPCRAFT_STORE_AUTH=candid` (e.g. `SNAPCRAFT_STORE_AUTH=candid snapcraft export-login`)