Skip to content

chore: Don't allow to use basic-text encryption on linux (#940) #301

chore: Don't allow to use basic-text encryption on linux (#940)

chore: Don't allow to use basic-text encryption on linux (#940) #301

name: Release Please
on:
push:
branches:
- main
permissions: {}
jobs:
release-please:
permissions:
contents: write
pull-requests: write
id-token: write
runs-on: ubuntu-latest
steps:
- name: Retrieve release app credentials
id: get-secrets
uses: grafana/shared-workflows/actions/get-vault-secrets@28361cdb22223e5f1e34358c86c20908e7248760 # get-vault-secrets-v1.1.0
with:
repo_secrets: |
GITHUB_APP_ID=github-app:app-id
GITHUB_APP_INSTALLATION_ID=github-app:app-installation-id
GITHUB_APP_PRIVATE_KEY=github-app:private-key
- name: Get repository name
env:
REPOSITORY: ${{ github.repository }}
id: info
run: echo "repository_name=${REPOSITORY#*/}" >> "$GITHUB_OUTPUT"
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@d72941d797fd3113feb6b93fd0dec494b13a2547 # v1.12.0
with:
app-id: ${{ env.GITHUB_APP_ID }}
private-key: ${{ env.GITHUB_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: ${{ steps.info.outputs.repository_name }}
- uses: googleapis/release-please-action@a02a34c4d625f9be7cb89156071d8567266a2445 # v4.2.0
with:
token: ${{ steps.generate-token.outputs.token }}