Skip to content

Update Element “access__available_to_3rd_parties” #32

Update Element “access__available_to_3rd_parties”

Update Element “access__available_to_3rd_parties” #32

# File: .github/workflows/pull-request.yml
name: Pull Request Workflow
on:
pull_request:
branches: [main]
jobs:
create-discussion:
runs-on: ubuntu-latest
steps:
- name: Create a new GitHub Discussion
id: create-discussion
uses: abirismyname/[email protected]
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
title: ${{ github.event.pull_request.title }}
body: |
${{ github.event.pull_request.body }} (Link: ${{ github.event.pull_request.html_url }})
repository-id: ${{ secrets.REPO_ID }}
category-id: ${{ secrets.CAT_ID }}
- name: Print discussion url and id
run: |
echo discussion-id: ${{steps.create-discussion.outputs.discussion-id}}
echo discussion-url: ${{steps.create-discussion.outputs.discussion-url}}