Skip to content

Commit

Permalink
fix: Update App id and branch name
Browse files Browse the repository at this point in the history
  • Loading branch information
Peetee06 committed Sep 19, 2024
1 parent ca6a436 commit 439d3f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/update-codemagic-brick-PR-label.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ on:

jobs:
update_pr_label:
if: startsWith(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'from formigas/codemagic-ci-changes-')
if: startsWith(github.event.head_commit.message, 'Merge pull request') && contains(github.event.head_commit.message, 'from codemagic-ci-changes-')
runs-on: ubuntu-latest
steps:
- name: Extract PR number
id: extract_pr
run: |
PR_NUMBER=$(echo "${{ github.event.head_commit.message }}" | grep -oP 'from formigas/codemagic-ci-changes-\K\d+')
PR_NUMBER=$(echo "${{ github.event.head_commit.message }}" | grep -oP 'from codemagic-ci-changes-\K\d+')
echo "pr_number=$PR_NUMBER" >> $GITHUB_OUTPUT
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.FORMIGAS_APP_ID }}
app-id: ${{ vars.FORMIGAS_FLIK_APP_ID }}
private-key: ${{ secrets.FORMIGAS_APP_PRIVATE_KEY }}

- name: Add label to PR
Expand Down

0 comments on commit 439d3f4

Please sign in to comment.