mirror of
https://github.com/revanced/revanced-manager.git
synced 2025-04-30 05:54:26 +02:00
ci(security): resolve arbitrary code execution
This commit is contained in:
parent
f8d086a743
commit
8b28a33b73
8
.github/workflows/pr-build.yml
vendored
8
.github/workflows/pr-build.yml
vendored
@ -45,10 +45,10 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GH_TOKEN: ${{ github.token }}
|
GH_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
gh repo clone ${{ github.repository }}
|
gh repo clone "${{ github.repository }}"
|
||||||
cd revanced-manager
|
cd revanced-manager
|
||||||
gh repo set-default ${{ github.repository }}
|
gh repo set-default "${{ github.repository }}"
|
||||||
gh pr checkout ${{ inputs.pr-number }}
|
gh pr checkout "${{ inputs.pr-number }}"
|
||||||
|
|
||||||
echo "DATETIME=$( TZ='UTC+0' date --rfc-email )" >> $GITHUB_ENV
|
echo "DATETIME=$( TZ='UTC+0' date --rfc-email )" >> $GITHUB_ENV
|
||||||
echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
echo "COMMIT_HASH=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
||||||
@ -83,7 +83,7 @@ jobs:
|
|||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
run: |
|
run: |
|
||||||
flutter build apk --${{ inputs.app-flavour }};
|
flutter build apk --"${{ inputs.app-flavour }}";
|
||||||
|
|
||||||
- name: Prepare to comment
|
- name: Prepare to comment
|
||||||
run: |
|
run: |
|
||||||
|
Loading…
x
Reference in New Issue
Block a user