No description
  • TypeScript 90.3%
  • Nix 9.7%
Find a file
2024-10-08 14:53:35 +02:00
.husky 🧑‍💻 Use Biome as linter 2024-10-08 10:37:16 +02:00
.vscode 🎉 Initial commit 2024-10-08 10:36:21 +02:00
dist 🔖 Release v1.0.0 2024-10-08 13:41:09 +02:00
src 🔖 Release v1.0.0 2024-10-08 13:41:09 +02:00
.envrc 🎉 Initial commit 2024-10-08 10:36:21 +02:00
.gitignore 🎉 Initial commit 2024-10-08 10:36:21 +02:00
action.yml 🔖 Release v1.0.0 2024-10-08 13:41:09 +02:00
biome.json 🎉 Initial commit 2024-10-08 10:36:21 +02:00
devenv.lock 🎉 Initial commit 2024-10-08 10:36:21 +02:00
devenv.nix 🎉 Initial commit 2024-10-08 10:36:21 +02:00
devenv.yaml 🎉 Initial commit 2024-10-08 10:36:21 +02:00
package.json 🛂 Adapt repo name 2024-10-08 14:53:35 +02:00
pnpm-lock.yaml 🎉 Initial commit 2024-10-08 10:36:21 +02:00
README.md 🛂 Adapt repo name 2024-10-08 14:53:35 +02:00
tsconfig.json 🎉 Initial commit 2024-10-08 10:36:21 +02:00

Create .Env File GitHub Action

GitHub
release

About

A Forgejo Actions to clean old release for a package.

Usage

name: Delete old release

on:
    release:
        types: [published]

jobs:
  delete-release:
    runs-on: ubuntu-latest
    steps:
    - name: Delete old release
      uses: https://git.deditoolbox.fr/actions@v1.0.0
      with:
        token: ${{ secrets.GITHUB_TOKEN }}
        repository: ${{ github.repository }}
        server: ${{ github.server_url }}
        keep_major: 1
        keep_minor: 2
        keep_patch: 3

Inputs

Name Description
token Forgejo API Token.
repository Repository concerned (as {owner}/{repo})
server URL of the Forgejo Instance
keep_major Number of major release to keep.
keep_minor Number of minor release for each major to keep.
keep_patch Number of patch release for each minor to keep.