Skip to content

Commit

Permalink
Enable release from forks
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-josi-aws committed Nov 19, 2024
1 parent 1469448 commit 2b9cb05
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,13 @@ jobs:
ACTOR: ${{ github.actor }}
COMMIT_ID: ${{ github.event.inputs.commit_id }}
VERSION_NUMBER: ${{ github.event.inputs.version_number }}
GITHUB_ORG: ${{ github.repository_owner }}
run: |
# Configure repo for push
git config --global user.name "$ACTOR"
git config --global user.email "$ACTOR"@users.noreply.github.com
# Run the release script
pip install -r ./tools/.github/scripts/release-requirements.txt
./tools/.github/scripts/release.py FreeRTOS --core-repo-path=local_core --core-commit="$COMMIT_ID" --new-core-version="$VERSION_NUMBER"
./tools/.github/scripts/release.py "$GITHUB_ORG" --core-repo-path=local_core --core-commit="$COMMIT_ID" --new-core-version="$VERSION_NUMBER"
exit $?

0 comments on commit 2b9cb05

Please sign in to comment.