Skip to content

update gh output syntax #3

update gh output syntax

update gh output syntax #3

Workflow file for this run

name: Test Action
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-action:
name: Test create PR on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
steps:
- name: Checkout the repo
uses: actions/[email protected]
- name: Create Pull Request
id: create_pr
uses: ./
with:
title: 'Automated Pull Request'
sourceBranch: ${{ github.ref_name }}
targetBranch: 'main'
body: 'This is an automated pull request.'
labels: 'automated,pr'
assignees: 'octocat'
- name: Output PR URL
run: echo "The PR URL is ${{ steps.create_pr.outputs.PRURL }}"