Skip to content

Take care of your plugin SVN repository cleaning the old tags with this GitHub Action

License

Notifications You must be signed in to change notification settings

dottxado/action-wordpress-svn-tag-cleaner

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WordPress SVN tag cleaner

This GitHub Action deletes a specified folder tag from your WordPress SVN plugin repository.

Configuration

Required secrets

  • SVN_USERNAME
  • SVN_PASSWORD

Set these secrets in the repository settings.

Required inputs

  • Tag to remove (tag-to-remove): please require this input in your workflow

Optional environment variables

  • SLUG: the WordPress repository slug. It defaults to the GitHub repository name

Example workflow

This example demonstrate a simple manual workflow

name: Remove old tags from SVN
on:
  workflow_dispatch:
    inputs:
      tag-to-remove:
        description: 'Tag to remove'
        required: true
jobs:
  remove-tag:
    runs-on: ubuntu-latest
    name: Remove the tag
    steps:
      - uses: dottxado/[email protected]
        with:
          tag-to-remove: ${{ github.event.inputs.tag-to-remove }}
        env:
          SVN_USERNAME: ${{ secrets.SVN_USERNAME }}
          SVN_PASSWORD: ${{ secrets.SVN_PASSWORD }}

About

Take care of your plugin SVN repository cleaning the old tags with this GitHub Action

Resources

License

Stars

Watchers

Forks

Packages

No packages published