Skip to content

Commit b0c00f0

Browse files
committed
add clean workflow
1 parent 0ba8d77 commit b0c00f0

File tree

5 files changed

+22
-4
lines changed

5 files changed

+22
-4
lines changed

.github/workflows/clean.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Clean Packages
2+
3+
on:
4+
schedule:
5+
- cron: '0 0 * * *'
6+
7+
jobs:
8+
clean-packages:
9+
permissions:
10+
packages: write
11+
12+
runs-on: ubuntu-latest
13+
steps:
14+
- uses: actions/delete-package-versions@v5
15+
with:
16+
package-name: ${{ github.event.repository.name }}
17+
package-type: 'container'
18+
min-versions-to-keep: 20
19+
ignore-versions: '^main|v\d+.\d+.\d+$'

Cargo.toml

-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,3 @@ reqwest = { version = "0.12", features = ["json"] }
1414
serde = { version = "1.0", features = ["derive"] }
1515
tokio = { version = "1", features = ["full"] }
1616
url = "2.5.3"
17-

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ RUN apt-get update \
1515
COPY --from=builder /usr/local/cargo/bin/ismyassafeyet /app/ismyassafeyet
1616

1717
ENTRYPOINT [ "/app/ismyassafeyet" ]
18-
CMD [ "--help" ]
18+
CMD [ "--help" ]

LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1818
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1919
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
2020
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21-
SOFTWARE.
21+
SOFTWARE.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ Options:
1818

1919
## Acknowledgements
2020

21-
This tool is by default relying on Cloudflare's [isbgpsafeyet](https://isbgpsafeyet.com/) infrastructure to work. Thanks to Cloudflare for providing this service.
21+
This tool is by default relying on Cloudflare's [isbgpsafeyet](https://isbgpsafeyet.com/) infrastructure to work. Thanks to Cloudflare for providing this service.

0 commit comments

Comments
 (0)