Skip to content

Commit 95faaae

Browse files
committed
build: grant write permissions on tag pushes
1 parent dd76188 commit 95faaae

File tree

2 files changed

+15
-14
lines changed

2 files changed

+15
-14
lines changed

.github/workflows/build-release.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ jobs:
5858
release:
5959
needs: build
6060
runs-on: ubuntu-latest
61-
if: github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/tags/')
61+
if: startsWith(github.ref, 'refs/tags/')
62+
permissions:
63+
contents: write
6264

6365
steps:
6466
- uses: actions/checkout@v4
@@ -72,8 +74,8 @@ jobs:
7274
env:
7375
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7476
with:
75-
tag_name: ${{ github.ref }}
76-
release_name: Release ${{ github.ref }}
77+
tag_name: ${{ github.ref_name }}
78+
release_name: Release ${{ github.ref_name }}
7779
draft: false
7880
prerelease: false
7981

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,31 +4,30 @@ A cross-platform Go application that monitors serial ports for URLs and automati
44

55
## Features
66

7-
- =
8-
Monitors all available serial ports automatically
9-
- < Detects URLs in serial data using regex pattern matching
10-
- =� Opens URLs in the default browser across Windows, macOS, and Linux
11-
- =� Runs as a background service/daemon on startup
12-
- =� Zero-configuration installation with one-line installers
13-
- =' Self-contained executable with no external dependencies
7+
- 🔍 Monitors all available serial ports automatically
8+
- 🔗 Detects URLs in serial data using regex pattern matching
9+
- 🌐 Opens URLs in the default browser across Windows, macOS, and Linux
10+
- 🚀 Runs as a background service/daemon on startup
11+
- ⚡ Zero-configuration installation with one-line installers
12+
- 📦 Self-contained executable with no external dependencies
1413

1514
## Quick Installation
1615

1716
### Windows (PowerShell - Run as Administrator)
1817

19-
```powershellcrbnos/serial
18+
```powershell
2019
iwr -useb https://raw.githubusercontent.com/barbinbrad/serial-url-scanner/main/scripts/install-windows.ps1 | iex
2120
```
2221

2322
### macOS (Terminal)
2423

25-
```bashcrbnos/serial
24+
```bash
2625
curl -fsSL https://raw.githubusercontent.com/barbinbrad/serial-url-scanner/main/scripts/install-mac.sh | bash
2726
```
2827

2928
### Linux (Terminal)
3029

31-
```bashcrbnos/serial
30+
```bash
3231
curl -fsSL https://raw.githubusercontent.com/barbinbrad/serial-url-scanner/main/scripts/install-linux.sh | sudo bash
3332
```
3433

@@ -50,7 +49,7 @@ The scanner continuously:
5049

5150
1. Detects all available serial ports on the system
5251
2. Monitors each port for incoming data (9600 baud, 8N1 by default)
53-
3. Scans received text for URL patterns (`http://` or `https://`)
52+
3. Scans received text for URL patterns (`http://localhost` or `carbon.ms`)
5453
4. Validates found URLs and opens them in the default browser
5554
5. Logs all activity for debugging purposes
5655

0 commit comments

Comments
 (0)