diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7855d5e..7cd1389 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -7,8 +7,6 @@ on: # Triggers the workflow on push or pull request events but only for the main branch push: branches: [ main ] - pull_request: - branches: [ main ] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -16,21 +14,26 @@ on: # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: # This workflow contains a single job called "build" - build: + make-pull-request: + env: + GITHUB_TOKEN: ${{ secrets.PAT }} + REPO: ${{ github.repository }} # The type of runner that the job will run on runs-on: ubuntu-latest # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 - - # Runs a single command using the runners shell - - name: Run a one-line script - run: echo Hello, world! - - # Runs a set of commands using the runners shell - - name: Run a multi-line script + - name: "Checkout" + uses: actions/checkout@v2 + with: + persist-credentials: true + fetch-depth: 0 + token: ${{ secrets.PAT }} + + - name: "Create pull request" + # run: | + # # gh release view run: | - echo Add other actions to build, - echo test, and deploy your project. + release_body=`gh release view -R npm/cli` + gh pr create -R "gimli01/fork-foo" -B "main" -H "dblup:main" --title "test" --body "$release_body" diff --git a/file.txt b/file.txt new file mode 100644 index 0000000..e69de29 diff --git a/temp.txt b/temp.txt new file mode 100644 index 0000000..eb8d504 --- /dev/null +++ b/temp.txt @@ -0,0 +1 @@ +title: tag: v7.13.0 draft: false prerelease: false author: ruyadorno created: 2021-05-13T19:50:25Z published: 2021-05-13T20:09:34Z url: https://github.com/npm/cli/releases/tag/v7.13.0 -- ## v7.13.0 (2021-05-13) * [`076420c14`](https://github.com/npm/cli/commit/076420c149d097056f687e44e21744b743b86e4e) [#3231](https://github.com/npm/cli/issues/3231) feat(publish): add workspace support ([@wraithgar](https://github.com/wraithgar)) * [`370b36a36`](https://github.com/npm/cli/commit/370b36a36ca226840761e4214cbccaf2a1a90e3c) [#3241](https://github.com/npm/cli/issues/3241) feat(fund): add workspaces support ([@ruyadorno](https://github.com/ruyadorno)) ### DEPENDENCIES * [`0c18e4f77`](https://github.com/npm/cli/commit/0c18e4f774562fa054fedf323bea25805ebf39b3) `@npmcli/arborist@2.5.0` * [`b551c6811`](https://github.com/npm/cli/commit/b551c6811251dbc901f47fea3c137f93e205a9e4) `libnpmfund@1.1.0`