Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release-draft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
create-release-pr:
name: Create Release PR
runs-on: ubuntu-latest
environment: release
steps:
# A major bump off main would publish the next major from maintenance code.
- name: Block major bump outside main
Expand Down
25 changes: 0 additions & 25 deletions .github/workflows/trunk-upgrade.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,6 @@ name: Run trunk upgrade

on:
workflow_call:
secrets:
SDK_RELEASE_GITHUB_CLIENT_ID:
required: true
SDK_RELEASE_GITHUB_APP_PRIVATE_KEY:
required: true
schedule:
- cron: 0 0 1 * *
workflow_dispatch:
Expand All @@ -15,29 +10,9 @@ permissions:
contents: read

jobs:
generate-and-call-upgrade:
runs-on: ubuntu-latest
outputs:
generated-token: ${{ steps.generate-token.outputs.token }}
steps:
- name: Generate a token
id: generate-token
uses: actions/create-github-app-token@64ab729a6294000f5aa4a4bc0b73d1f32bc45510 # v3.3.0
with:
client-id: ${{ secrets.SDK_RELEASE_GITHUB_CLIENT_ID }}
private-key: ${{ secrets.SDK_RELEASE_GITHUB_APP_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
repositories: |
react-native-mparticle
permission-contents: write
permission-pull-requests: write

trunk-upgrade:
needs: generate-and-call-upgrade
name: Run trunk upgrade
permissions:
contents: write
pull-requests: write
uses: ROKT/rokt-workflows/.github/workflows/trunk-upgrade.yml@da0c5fd5d38e9cf113a24ec9aaea079cc7d0bc40
with:
token: ${{ needs.generate-and-call-upgrade.outputs.generated-token }}
Loading