update readme #19
Workflow file for this run
This file contains 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: Test Action | |
on: | |
push: | |
branches-ignore: | |
- '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: ./ | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
title: 'Automated Pull Request' | |
sourceBranch: ${{ github.ref_name }} | |
targetBranch: 'main' | |
body: 'This is an automated pull request.' | |
labels: 'invalid,wontfix' | |
assignees: ${{ github.actor }} | |
- name: Output PR URL | |
run: echo "The PR URL is ${{ steps.create_pr.outputs.PRURL }}" |