mirror of
https://code.forgejo.org/actions/cascading-pr.git
synced 2025-07-01 06:13:43 +00:00
store the tokens in files and never display them
This commit is contained in:
parent
d1f8e17462
commit
b207ec6de2
2 changed files with 28 additions and 5 deletions
|
@ -81,14 +81,19 @@ runs:
|
|||
verbosity="$verbosity --debug"
|
||||
fi
|
||||
|
||||
origin_token=$(pwd)/origin.token
|
||||
echo -n ${{ inputs.origin-token }} > $origin_token
|
||||
destination_token=$(pwd)/destination.token
|
||||
echo -n ${{ inputs.destination-token }} > $destination_token
|
||||
|
||||
cascading-pr.sh $verbosity \
|
||||
--origin-url "${{ inputs.origin-url }}" \
|
||||
--origin-repo "${{ inputs.origin-repo }}" \
|
||||
--origin-token "${{ inputs.origin-token }}" \
|
||||
--origin-token "@$origin_token" \
|
||||
--origin-pr "${{ inputs.origin-pr }}" \
|
||||
--destination-url "${{ inputs.destination-url }}" \
|
||||
--destination-repo "${{ inputs.destination-repo }}" \
|
||||
--destination-token "${{ inputs.destination-token }}" \
|
||||
--destination-token "@$destination_token" \
|
||||
--destination-branch "${{ inputs.destination-branch }}" \
|
||||
--update "${{ inputs.update }}" \
|
||||
--prefix "${{ inputs.prefix }}" \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue