Rename ctx to dev_ctx in paddle/phi/kernels/fusion/xpu/ directory #4932
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Approval | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
env: | |
BRANCH: ${{ github.base_ref }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PR_ID: ${{ github.event.pull_request.number }} | |
COMMIT_ID: ${{ github.event.pull_request.head.sha }} | |
token: ${{ vars.ACTION_GITHUB_TOKEN }} | |
jobs: | |
check-approvers: | |
name: Check approval | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 200 | |
- name: Update paddle | |
run: | | |
git switch -c test | |
git remote add upstream https://github.com/PaddlePaddle/Paddle.git | |
git fetch upstream $BRANCH | |
git checkout $BRANCH | |
git config --global user.name "PaddleCI" | |
git config --global user.email "[email protected]" | |
git merge test | |
- name: Check bypass | |
id: check-bypass | |
uses: ./.github/actions/check-bypass | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
workflow-name: approval | |
- name: Display Required Approvers | |
if: steps.check-bypass.outputs.can-skip != 'true' | |
run: | | |
bash ci/check_approval.sh |