This is an automated email from the ASF dual-hosted git repository.
sbp pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tooling-asf-example.git
The following commit(s) were added to refs/heads/main by this push:
new d0350c5 Add a test workflow to resolve a vote on the ATR
d0350c5 is described below
commit d0350c56a1b758b14f37235a44bc8c4dba0312ce
Author: Sean B. Palmer <[email protected]>
AuthorDate: Thu Sep 4 17:24:52 2025 +0100
Add a test workflow to resolve a vote on the ATR
---
.github/workflows/resolve-vote-on-atr.yaml | 39 ++++++++++++++++++++++++++++++
.gitignore | 1 +
pyproject.toml | 4 +--
src/asf/example/__init__.py | 2 +-
uv.lock | 4 +--
5 files changed, 45 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/resolve-vote-on-atr.yaml
b/.github/workflows/resolve-vote-on-atr.yaml
new file mode 100644
index 0000000..a0ed7ad
--- /dev/null
+++ b/.github/workflows/resolve-vote-on-atr.yaml
@@ -0,0 +1,39 @@
+name: resolve-vote-on-atr
+on:
+ workflow_dispatch:
+ inputs:
+ version:
+ description: Release version
+ required: true
+ type: string
+ resolve_resolution:
+ description: Vote resolution
+ required: true
+ type: choice
+ options:
+ - passed
+ - failed
+ default: passed
+
+permissions: { contents: read }
+
+jobs:
+ resolve-vote:
+ runs-on: ubuntu-22.04
+ permissions:
+ id-token: write
+ contents: read
+
+ steps:
+ - name: Checkout (shallow, no persisted credentials)
+ uses: actions/checkout@08eba0b27e820071cde6df949e0beb9ba4906955
+ with:
+ fetch-depth: 1
+ persist-credentials: false
+
+ - name: Resolve vote on ATR
+ uses:
apache/tooling-actions/release-on-atr@18096a803b6eea7a7b567bcfa55a8171d0baa311
+ with:
+ version: ${{ inputs.version }}
+ resolve: "true"
+ resolve-resolution: ${{ inputs.resolve_resolution }}
diff --git a/.gitignore b/.gitignore
index 7d0f678..d0014b8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,3 +12,4 @@ dev/
dist/
node_modules/
package-lock.json
+resources/
diff --git a/pyproject.toml b/pyproject.toml
index 95be609..a594dfd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -5,7 +5,7 @@ build-backend = "hatchling.build"
[project]
name = "asf-example"
# This is automatically updated
-version = "0.0.1-dev20"
+version = "0.0.1-dev21"
description = "Example package for ASF Tooling"
readme = "README.md"
requires-python = ">=3.13"
@@ -48,4 +48,4 @@ select = [
[tool.uv]
# This is automatically updated
-exclude-newer = "2025-08-29T14:00:47Z"
+exclude-newer = "2025-09-04T16:23:30Z"
diff --git a/src/asf/example/__init__.py b/src/asf/example/__init__.py
index e7f62f9..d821b0f 100644
--- a/src/asf/example/__init__.py
+++ b/src/asf/example/__init__.py
@@ -37,7 +37,7 @@ import tomlkit.items
PROJECT: Final[str] = "asf-example"
# This is automatically updated
-VERSION: Final[str] = "0.0.1-dev20"
+VERSION: Final[str] = "0.0.1-dev21"
class BumpMode(enum.Enum):
diff --git a/uv.lock b/uv.lock
index 45433ab..742d7c2 100644
--- a/uv.lock
+++ b/uv.lock
@@ -3,11 +3,11 @@ revision = 3
requires-python = ">=3.13"
[options]
-exclude-newer = "2025-08-29T14:00:47Z"
+exclude-newer = "2025-09-04T16:23:30Z"
[[package]]
name = "asf-example"
-version = "0.0.1.dev20"
+version = "0.0.1.dev21"
source = { editable = "." }
dependencies = [
{ name = "pygit2" },
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]