Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP] Test update shas in readme #603

Draft
wants to merge 11 commits into
base: main
Choose a base branch
from
Draft
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
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
name: Release shared-workflows

on:
push:
branches:
- main
pull_request:

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3
- uses: dsotirakis/release-please-action@add-generic-sha-updater
id: release
with:
config-file: release-please-config.json
manifest-file: .release-please-manifest.json
target-branch: ${{ github.ref_name }}
target-branch: test-update-shas-in-readme
env:
GITHUB_SOURCE_SHA: ${{ github.event.pull_request.head.sha }}

# We release full semver versions major.minor.patch. We need to make sure
# that v2 is updated as well as v2.0, so that people can pin to the major
Expand Down
6 changes: 3 additions & 3 deletions actions/argo-lint/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ Shared workflow to lint Argo workflow files.

## Example

<!-- x-release-please-start-version -->
<!-- x-release-please-start-sha -->

```
uses: grafana/shared-workflows/actions/argo-lint@argo-lint-v1.0.0
uses: grafana/shared-workflows/actions/argo-lint@b7d0dcd417e364e0e6ea7f2d58843b585b7fd3e0 # v0.0.1
with:
path: /path/to/files # Paths to files for linting

```

<!-- x-release-please-end-version -->
<!-- x-release-please-end-sha -->
81 changes: 7 additions & 74 deletions release-please-config.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
"$schema": "https://raw.githubusercontent.com/dsotirakis/release-please/add-generic-sha-updater/schemas/config.json",
"changelog-sections": [
{
"section": "🎉 Features",
Expand Down Expand Up @@ -55,79 +55,12 @@
"packages": {
"actions/argo-lint": {
"package-name": "argo-lint",
"extra-files": ["README.md"]
},
"actions/aws-auth": {
"package-name": "aws-auth",
"extra-files": ["README.md"]
},
"actions/build-push-to-dockerhub": {
"package-name": "build-push-to-dockerhub",
"extra-files": ["README.md"]
},
"actions/dockerhub-login": {
"package-name": "dockerhub-login",
"extra-files": ["README.md"]
},
"actions/find-pr-for-commit": {
"package-name": "find-pr-for-commit",
"extra-files": ["README.md"]
},
"actions/generate-openapi-clients": {
"package-name": "generate-openapi-clients",
"extra-files": ["README.md"]
},
"actions/get-vault-secrets": {
"package-name": "get-vault-secrets",
"extra-files": ["README.md"]
},
"actions/lint-pr-title": {
"package-name": "lint-pr-title",
"extra-files": ["README.md"]
},
"actions/login-to-gar": {
"package-name": "login-to-gar",
"extra-files": ["README.md"]
},
"actions/login-to-gcs": {
"package-name": "login-to-gcs",
"extra-files": ["README.md"]
},
"actions/push-to-gar-docker": {
"package-name": "push-to-gar-docker",
"extra-files": ["README.md"]
},
"actions/push-to-gcs": {
"package-name": "push-to-gcs",
"extra-files": ["README.md"]
},
"actions/send-slack-message": {
"package-name": "send-slack-message",
"extra-files": ["README.md"]
},
"actions/setup-argo": {
"package-name": "setup-argo",
"extra-files": ["README.md"]
},
"actions/setup-conftest": {
"package-name": "setup-conftest",
"extra-files": ["README.md"]
},
"actions/syft-sbom-report": {
"package-name": "syft-sbom-report",
"extra-files": ["README.md"]
},
"actions/techdocs-rewrite-relative-links": {
"package-name": "techdocs-rewrite-relative-links",
"extra-files": ["README.md"]
},
"actions/trigger-argo-workflow": {
"package-name": "trigger-argo-workflow",
"extra-files": ["README.md"]
},
"actions/validate-policy-bot-config": {
"package-name": "validate-policy-bot-config",
"extra-files": ["README.md"]
"extra-files": [
{
"type": "sha",
"path": "README.md"
}
]
}
},
"release-type": "simple",
Expand Down
Loading