Skip to content

Update dependency js-yaml to v4.1.1 [SECURITY] #22

Update dependency js-yaml to v4.1.1 [SECURITY]

Update dependency js-yaml to v4.1.1 [SECURITY] #22

Workflow file for this run

name: 'example'
on:
pull_request:
branches:
- main
- 'releases/*'
jobs:
setup:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ./
id: wait-for-branch
with:
token: ${{ secrets.GITHUB_TOKEN }}
public-key: ${{ secrets.TIDB_CLOUD_PUBLIC_KEY }}
private-key: ${{ secrets.TIDB_CLOUD_PRIVATE_KEY }}
add-mask: false
env: dev
- name: Use the output
run: |
echo "The host is ${{ steps.wait-for-branch.outputs.host }}"
echo "The port is ${{ steps.wait-for-branch.outputs.port }}"
echo "The username is ${{ steps.wait-for-branch.outputs.username }}"
echo "The password is ${{ steps.wait-for-branch.outputs.password }}"
outputs:
username: ${{ steps.wait-for-branch.outputs.username }}
host: ${{ steps.wait-for-branch.outputs.host }}
password: ${{ steps.wait-for-branch.outputs.password }}
port: ${{ steps.wait-for-branch.outputs.port }}
test:
needs: setup
runs-on: ubuntu-latest
steps:
- name: Use the output
run: |
echo "The host is ${{ needs.setup.outputs.host }}"
echo "The port is ${{ needs.setup.outputs.port }}"
echo '::add-mask::${{ needs.setup.outputs.password }}'
echo "The password is ${{ needs.setup.outputs.password }}"