From 4d640abdb20b2a4059a8225bac3e538417d460f4 Mon Sep 17 00:00:00 2001 From: actions-mirror Date: Sun, 8 Mar 2026 02:00:59 +0000 Subject: [PATCH] Initialize with override content --- README.md | 2 -- action.yml | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 2 deletions(-) delete mode 100644 README.md create mode 100644 action.yml diff --git a/README.md b/README.md deleted file mode 100644 index cd2730f..0000000 --- a/README.md +++ /dev/null @@ -1,2 +0,0 @@ -# labeler - diff --git a/action.yml b/action.yml new file mode 100644 index 0000000..3651ac8 --- /dev/null +++ b/action.yml @@ -0,0 +1,37 @@ +name: 'Pull Request Labeler (No-Op for Gitea)' +description: 'No-op PR labeler for Gitea' +author: 'actions-mirror' + +inputs: + repo-token: + description: 'PAT token' + required: false + configuration-path: + description: 'Path to labeler config' + required: false + default: '.github/labeler.yml' + sync-labels: + description: 'Remove labels not in config' + required: false + default: 'false' + dot: + description: 'Use dot notation' + required: false + default: 'false' + pr-number: + description: 'PR number to label' + required: false + +runs: + using: 'composite' + steps: + - name: Labeler action skipped + shell: bash + run: | + echo "ℹ️ PR labeler skipped on Gitea (using no-op override)" + echo " This action is designed for GitHub's PR system" + echo "" + echo " 💡 Alternative: Implement custom labeler using Gitea API" + echo " - Read changed files via /api/v1/repos/{owner}/{repo}/pulls/{index}/files" + echo " - Apply labels via PATCH /api/v1/repos/{owner}/{repo}/issues/{index}/labels" + echo " - Use configuration file to map paths to labels"