Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jensborch/workflows
Shared Github Actions
https://github.com/jensborch/workflows
Last synced: 21 days ago
JSON representation
Shared Github Actions
- Host: GitHub
- URL: https://github.com/jensborch/workflows
- Owner: jensborch
- License: mit
- Created: 2024-02-08T12:25:32.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T11:12:06.000Z (5 months ago)
- Last Synced: 2024-08-29T12:34:19.622Z (5 months ago)
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Lint](https://github.com/jensborch/workflows/actions/workflows/action-lint.yml/badge.svg)](https://github.com/jensborch/workflows/actions/workflows/action-lint.yml)
# Reusable workflows
Reusable Github workflows for Gradle, Maven, Code scanning, Dependabot etc..
## dependabot-automerge.yml
```yml
name: "Dependabot Automerge"on:
pull_request:
branches: [ master ]jobs:
automerge:
uses: jensborch/workflows/.github/workflows/dependabot-automerge.yml.yml@main
permissions:
pull-requests: write
contents: write
secrets: inherit
```### Inputs, variables and secrets
* vars.AUTOMERGE_APP_ID
* secrets.AUTOMERGE_APP_PRIVATE_KEY
* secrets.GITHUB_TOKEN## gradle-build.yml
```yml
name: Buildon:
push:
workflow_dispatch:jobs:
build:
uses: jensborch/workflows/.github/workflows/gradle-build.yml@main
with:
java-version: 8
```### Inputs, variables and secrets
* inputs.java-version
## gradle-publish.yml
```yml
name: Publishon:
push:
branches: [master]jobs:
publish:
uses: jensborch/workflows/.github/workflows/gradle-publish.yml@main
secrets: inherit
permissions:
contents: write
with:
java-version: 8
```### Inputs, variables and secrets
* inputs.java-version
* secrets.GITHUB_TOKEN
* secrets.SONATYPE_USERNAME
* secrets.SONATYPE_PASSWORD
* secrets.SIGNING_KEY
* secrets.SIGNING_PASSWORD## gradle-release.yml
```yml
name: Releaseon:
push:
branches:
- 'releases/**'jobs:
release:
uses: jensborch/workflows/.github/workflows/gradle-release.yml@main
secrets: inherit
permissions:
contents: write
pull-requests: write
with:
java-version: 8
```### Inputs, variables and secrets
* inputs.java-version
* vars.RELEASE_APP_ID
* secrets.RELEASE_APP_PRIVATE_KEY## maven-build.yml
```yml
name: Buildon:
push:
workflow_dispatch:jobs:
build:
uses: jensborch/workflows/.github/workflows/maven-build.yml@main
secrets: inherit
with:
java-version: 11
```## maven-publish.yml
```yml
name: Buildon:
push:
branches: [master]jobs:
build:
uses: jensborch/workflows/.github/workflows/maven-build.yml@main
secrets: inherit
with:
java-version: 11
```## maven-publish.yml
```yml
name: Publishon:
push:jobs:
build:
uses: jensborch/workflows/.github/workflows/maven-publish.yml@main
secrets: inherit
permissions:
contents: write
with:
java-version: 11
```### Inputs, variables and secrets
* secrets.SONATYPE_USERNAME
* secrets.SONATYPE_PASSWORD
* secrets.SIGNING_PASSWORD## maven-release.yml
```yml
name: Releaseon:
push:jobs:
build:
uses: jensborch/workflows/.github/workflows/maven-release.yml@main
secrets: inherit
permissions:
contents: write
pull-requests: write
with:
java-version: 11
```### Inputs, variables and secrets
* inputs.java-version
* vars.RELEASE_APP_ID
* secrets.RELEASE_APP_PRIVATE_KEY