Skip to content

Commit

Permalink
release: v1.7.1 (#737)
Browse files Browse the repository at this point in the history
* release: v1.7.1

* ci: run local action on PRs, etc.
  • Loading branch information
MorrisonCole authored Feb 19, 2024
1 parent 2197723 commit 51f3cfa
Show file tree
Hide file tree
Showing 10 changed files with 27,533 additions and 11,990 deletions.
19 changes: 15 additions & 4 deletions .github/workflows/pr-lint.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PR Lint
name: CI

on:
pull_request:
Expand All @@ -7,19 +7,30 @@ on:
#
# Possible values: https://help.github.com/en/actions/reference/events-that-trigger-workflows#pull-request-event-pull_request
types: [opened, edited, reopened, synchronize]
push:
branches:
- main

jobs:
pr-lint:
name: Test PR Lint
runs-on: ubuntu-latest

steps:
- uses: morrisoncole/pr-lint-action@main
- name: Checkout
id: checkout
uses: actions/checkout@v4

- name: Test Action
id: test-action
uses: ./
with:
title-regex: "#[eE][xX]-[0-9]+"
on-failed-regex-fail-action: false
on-failed-regex-create-review: true
on-failed-regex-request-changes: false
on-failed-regex-comment:
"This is just an example. Failed regex: `%regex%`!"
"Failed regex: `%regex%`!"
on-succeeded-regex-dismiss-review-comment:
"This is just an example. Success!"
"Succeeded regex, dismissing review."
repo-token: "${{ secrets.GITHUB_TOKEN }}"
363 changes: 0 additions & 363 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

4 changes: 0 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-4.1.0.cjs
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
pr-lint:
runs-on: ubuntu-latest
steps:
- uses: morrisoncole/[email protected].0
- uses: morrisoncole/[email protected].1
with:
# Note: if you have branch protection rules enabled, the `GITHUB_TOKEN` permissions
# won't cover dismissing reviews. Your options are to pass in a custom token
Expand Down Expand Up @@ -63,6 +63,10 @@ jobs:

## Changelog

### v1.7.1

- Upgrade Node from 16 -> 20 ([thanks @sirLisko](https://github.com/MorrisonCole/pr-lint-action/pull/735)! 🙏).

### v1.7.0

- Fixes [#389](https://github.com/MorrisonCole/pr-lint-action/issues/389): once
Expand Down
Loading

0 comments on commit 51f3cfa

Please sign in to comment.