Skip to content

Just testing Links action on PR #36

Just testing Links action on PR

Just testing Links action on PR #36

on:
workflow_call:
pull_request:
# env:
# GH_TOKEN: ${{ secrets.API_TOKEN_GITHUB }} # setting GH_TOKEN for the entire workflow
jobs:
foo:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/checkout@v3
- run: |
echo ${{ github.head_ref }}
echo ${{ github.base_ref }}
echo ${{github.ref}}
gh repo set-default mongodb/docs-app-services
gh pr diff ${{ github.base_ref }} --name-only
#links_action
#master
#refs/pull/789/merge
#gh pr checkout $BRANCH
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
BRANCH: ${{ github.head_ref }}