Skip to content

Fix the content link does not return the relative position of fact list #14

Fix the content link does not return the relative position of fact list

Fix the content link does not return the relative position of fact list #14

Workflow file for this run

---
name: Close Container
on:
pull_request:
types:
- closed
jobs:
Close:
runs-on: [self-hosted, linux]
steps:
- name: Checkout sources
uses: actions/checkout@v4
- name: Set up SSH
run: |
mkdir -p ~/.ssh
echo '${{ secrets.DEV_DEPLOY_PRIVATE_KEY }}' >> ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
- name: Close PR
env:
title: ${{ github.event.pull_request.title }}
run: |
export MODE='Close'
export ENV='${{ github.event.number }}'
export DRAFT='${{ github.event.pull_request.draft }}'
export TITLE='${{ env.title }}'
ssh -o SendEnv=MODE -o SendEnv=ENV -o SendEnv=TITLE -o SendEnv=DRAFT -i ~/.ssh/id_rsa [email protected]
- name: Clear up
run: rm ~/.ssh/id_rsa