diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 8f1539b..52619c8 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -1,24 +1,23 @@ -Please title your PR according to eslint commit conventions -See https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-eslint#eslint-convention for details -e.g. "Fix: Semi rule incorrectly flagging extra semicolon (fixes #840)" -or "Upgrade: Esprima to 1.2, switch to using comment attachment (fixes #730)" +[//]: # (Please title your PR according to eslint commit conventions) +[//]: # (See https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/conventional-changelog-eslint#eslint-convention for details) -Link the PR to the original issue -fixes ADAPT-123 +[//]: # (Link the PR to the original issue) -Delete Fix, New, Breaking sections as appropriate +[//]: # (Delete Fix, Update, New and/or Breaking sections as appropriate) ### Fix * A sentence describing each fix +### Update +* A sentence describing each update + ### New * A sentence describing each new feature ### Breaking * A sentence describing each breaking change -List appropriate steps for testing if needed +[//]: # (List appropriate steps for testing if needed) ### Testing 1. Steps for testing -Mention any other dependencies -requires ADAPT-456 +[//]: # (Mention any other dependencies) diff --git a/.github/workflows/releases.yml b/.github/workflows/release.yml similarity index 62% rename from .github/workflows/releases.yml rename to .github/workflows/release.yml index 1dc163c..b2ab690 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/release.yml @@ -12,23 +12,18 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }} - name: Setup Node.js uses: actions/setup-node@v3 with: node-version: 'lts/*' - cache: 'npm' + cache: yarn - name: Install dependencies - run: npm ci + run: yarn install --frozen-lockfile - name: Release env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npm run semantic-release - -permissions: - contents: write - pull-requests: write - issues: write + GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }} + run: yarn semantic-release