Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -327,3 +327,20 @@ jobs:
echo "All tests skipped or passed"
exit 0
fi
get_job_id:
runs-on: ubuntu-latest
name: TESTJOB # change SET-A-NEW-NAME
steps:
- name: set id
id: set-job-id
uses: ayachensiyuan/get-action-job-id@v1.6
env:
GITHUB_TOKEN: ${{ secrets.TYLER_TEST_GITHUB_TOKEN }}
with:
job-name: TESTJOB # must be the same as 'get-job-id.name'

# get id
- name: get id
run: |
echo "The current job id is ${{ steps.set-job-id.outputs.jobId }}"
echo "The current job url is https://github.com/trunk-io/plugins/actions/runs/${{ github.run_id }}/job/${{ steps.set-job-id.outputs.jobId }}"
Loading