Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/auto-pull-request-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ on:
- dependabot/**

permissions:
contents: read
contents: write
packages: write
pull-requests: write
issues: write

jobs:
call:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/auto-release-create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ on:
permissions:
contents: write
packages: write
pull-requests: read
pull-requests: write
issues: write

jobs:
call:
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/manual-e2e-validate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: (Manual) E2E Validate

on:
workflow_dispatch:
inputs:
mode:
description: Validation mode
required: false
default: ref
type: choice
options:
- ref
- image
image_tag:
description: Image tag used when mode=image (for example v1.2.3-test or v1.2.3-rc)
required: false
default: ""
type: string

permissions:
contents: write
pull-requests: write
issues: write
packages: read

jobs:
e2e:
uses: devops-infra/triglav/.github/workflows/e2e-action-pull-request.yml@master
with:
mode: ${{ inputs.mode }}
image_tag: ${{ inputs.image_tag }}
secrets: inherit
1 change: 1 addition & 0 deletions .github/workflows/manual-release-branch-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ permissions:
contents: write
packages: write
pull-requests: write
issues: write

jobs:
call:
Expand Down
29 changes: 26 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6

- name: Create pull request
uses: devops-infra/action-pull-request@v1.2.0
Expand Down Expand Up @@ -202,7 +202,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v5
uses: actions/checkout@v6
with:
fetch-depth: 0
path: repo
Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
action-pull-request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: actions/checkout@v6

- uses: devops-infra/action-pull-request@v1.2.0
id: Pin patch version
Expand All @@ -271,6 +271,29 @@ If you have any questions or need help, please:
- 📝 Create an [issue](https://github.com/devops-infra/action-pull-request/issues)
- 🌟 Star this repository if you find it useful!

## 🧪 End-to-End Validation
Use the manual workflow `.github/workflows/manual-e2e-validate.yml` to validate this action against the centralized E2E repository.

- `mode=ref` validates ref-oriented E2E paths against stable pinned action refs.
- `mode=image` is wired but currently placeholder-only in the central E2E workflow for this action.

CI/CD automation also runs these E2E checks automatically:

- Pull requests: E2E validation runs through reusable org workflows.
- Release branch prepare: E2E validation runs against release candidate refs.
- Release create: E2E validation runs against production release refs.

Example trigger inputs:

```text
mode=ref
```

```text
mode=image
image_tag=v1.2.3-test
```

## Forking
To publish images from a fork, set these variables so Task uses your registry identities:
`DOCKER_USERNAME`, `DOCKER_ORG_NAME`, `GITHUB_USERNAME`, `GITHUB_ORG_NAME`.
Expand Down
Loading