2 Commits
Author SHA1 Message Date
Bo-Yi Wu dd9f2d9fa7 docs(readme): reference the floating v1 tag in examples 2026-08-16 10:57:44 +08:00
Bo-Yi Wu 4023d256c8 ci: restrict tag triggers to full semver
- Prevent the floating v1 major tag from cutting a goreleaser release
  or a docker image build
2026-08-16 10:57:44 +08:00
5 changed files with 16 additions and 14 deletions
+2 -1
View File
@@ -5,7 +5,8 @@ on:
branches:
- master
tags:
- "v*"
# full semver only; the floating major tag (v1) must not trigger builds
- "v[0-9]*.[0-9]*.[0-9]*"
pull_request:
branches:
- master
+2 -1
View File
@@ -3,7 +3,8 @@ name: Goreleaser
on:
push:
tags:
- "*"
# full semver only; the floating major tag (v1) must not cut a release
- "v[0-9]*.[0-9]*.[0-9]*"
permissions:
contents: write
+6 -6
View File
@@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: send telegram message on push
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
@@ -41,7 +41,7 @@ Remove the `message` input to send the default message.
```yml
- name: send default message
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
@@ -79,7 +79,7 @@ Send photo message:
```yml
- uses: actions/checkout@v7
- name: send photo message
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
@@ -92,7 +92,7 @@ Send location message:
```yml
- name: send location message
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
@@ -104,7 +104,7 @@ Send a message to a specific forum topic (thread):
```yml
- name: send message to forum topic
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
@@ -116,7 +116,7 @@ Send message using custom proxy (support `http`, `https`, and `socks5`) like `so
```yml
- name: send message using socks5 proxy URL
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
+3 -3
View File
@@ -42,7 +42,7 @@
```yml
- uses: actions/checkout@v7
- name: send photo message
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
@@ -55,7 +55,7 @@
```yml
- name: send location message
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
@@ -67,7 +67,7 @@
```yml
- name: send message using socks5 proxy URL
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
+3 -3
View File
@@ -42,7 +42,7 @@
```yml
- uses: actions/checkout@v7
- name: send photo message
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
@@ -55,7 +55,7 @@
```yml
- name: send location message
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
@@ -67,7 +67,7 @@
```yml
- name: send message using socks5 proxy URL
uses: appleboy/telegram-action@v1.1.1
uses: appleboy/telegram-action@v1
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}