Skip to content

Commit b8a542a

Browse files
authored
🎨 Remove auto link (#251)
* 🎨 Remove auto link * 🔖 Release patch version * ✅ Adapt autodev test
1 parent 3ae189a commit b8a542a

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
fetch-depth: 0
2929

3030
- name: Autodev
31-
uses: Staffbase/autodev-action@v1.8.0
31+
uses: Staffbase/autodev-action@v1.8.1
3232
with:
3333
# The token used to fetch the pull requests from the GitHub API
3434
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
@@ -59,7 +59,7 @@ Always create the dev branch.
5959

6060
```yaml
6161
- name: Autodev
62-
uses: Staffbase/autodev-action@v1.8.0
62+
uses: Staffbase/autodev-action@v1.8.1
6363
with:
6464
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
6565
```
@@ -68,7 +68,7 @@ Add a status comment if the merge was successful or failed.
6868

6969
```yaml
7070
- name: Autodev
71-
uses: Staffbase/autodev-action@v1.8.0
71+
uses: Staffbase/autodev-action@v1.8.1
7272
with:
7373
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
7474
comments: true
@@ -80,7 +80,7 @@ Add a status label if the merge was successful or failed.
8080

8181
```yaml
8282
- name: Autodev
83-
uses: Staffbase/autodev-action@v1.8.0
83+
uses: Staffbase/autodev-action@v1.8.1
8484
with:
8585
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
8686
labels: true

__test__/autodev.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ describe('autodev', () => {
6161
expect(info).toHaveBeenCalledWith(`AutoDev Merge
6262
6363
The following branches have been merged:
64-
- #1 feature-1 (38767ad)
65-
- #3 feature-3 (58767ad)
64+
- PR 1 feature-1 (38767ad)
65+
- PR 3 feature-3 (58767ad)
6666
6767
The following branches failed to merge:
6868
`)

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "autodev-action",
3-
"version": "v1.8.0",
3+
"version": "v1.8.1",
44
"description": "Github Action that tries to merge all commits from a PR with the dev label into the dev branch.",
55
"main": "lib/index.js",
66
"scripts": {

src/autodev.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ const merge = async (
173173
}
174174

175175
const toBulletPoint = (pull: Pull): string =>
176-
`- #${pull.number} ${pull.branch} (${pull.sha.substring(0, 7)})`
176+
`- PR ${pull.number} ${pull.branch} (${pull.sha.substring(0, 7)})`
177177

178178
const successList = success.map(toBulletPoint).join('\n')
179179
const failList = failed.map(toBulletPoint).join('\n')

0 commit comments

Comments
 (0)