diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d8a344a..7ea8cf9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,9 @@ on: - push - workflow_dispatch +permissions: + pull-requests: write + jobs: upload-action: name: Upload action diff --git a/README.md b/README.md index cf3de76..9efafdd 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,7 @@ -# Node CI +# @actalog/node-ci + +[![CI](https://github.com/actalog/node-ci/actions/workflows/ci.yml/badge.svg)](https://github.com/actalog/node-ci/actions/workflows/ci.yml) +[![CD](https://github.com/actalog/node-ci/actions/workflows/cd.yml/badge.svg)](https://github.com/actalog/node-ci/actions/workflows/cd.yml) Continuous Integration for Node.js projects @@ -8,8 +11,12 @@ Continuous Integration for Node.js projects name: CI on: + - pull_request - push +permissions: + pull-requests: write + jobs: node-ci: name: Node CI diff --git a/action.yml b/action.yml index 5ceb5ac..6643bd8 100644 --- a/action.yml +++ b/action.yml @@ -81,7 +81,7 @@ runs: with: issue-number: ${{ github.event.pull_request.number }} body: | - # Node CI + # @actalog/node-ci Node CI completed!