Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #3

Closed
wants to merge 12 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
33 changes: 20 additions & 13 deletions .github/workflows/main.yml
Expand Up @@ -7,30 +7,37 @@ 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:

# 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.
npm_version="7.13.0"
branch_name="npm-$npm_version"
git checkout -b "$branch_name"
git push origin "$branch_name"
release_body=`gh release view -R npm/cli`
gh pr create -R "gimli01/fork-foo" -B "main" -H "dblup:$branch_name" --title "test" --body "$release_body"
Empty file added file.txt
Empty file.
1 change: 1 addition & 0 deletions 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`
Expand Down