padok-team / github-workflows Goto Github PK
View Code? Open in Web Editor NEWReusable GitHub workflows
License: Apache License 2.0
Reusable GitHub workflows
License: Apache License 2.0
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: Cannot find preset's package (semanticCommitTypeAll(fix))
I think that the ref:
part is not useful, it automatically fetch the current ref I believe.
- name: checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
There is no action to setup it ? Anyway, downloading the "latest", without fixing it may be a bit "dangerous", while useful (auto update, wow). I am quite mixed about this.
- name: tfswitch
run: |
wget https://raw.githubusercontent.com/warrensbox/terraform-switcher/release/install.sh
chmod 755 install.sh
./install.sh -b `pwd`/.bin
rm install.sh
CUSTOMBIN=`pwd`/.bin
export PATH=$PATH:$CUSTOMBIN
$CUSTOMBIN/tfswitch -b $CUSTOMBIN/terraform
terraform -v
I personally don't like action which commits on the same place as human, I prefer only "blocking the PR". Indeed, if you want to iterate again on this PR, you'll have to git pull
with the added commit from the workflow. This can be discussed
- name: terraform-docs
uses: terraform-docs/[email protected]
with:
working-dir: .
output-file: README.md
output-method: inject
git-commit-message: "docs: update terraform docs"
git-push: "true"
More generally, I find this workflow OK for a module, but it would not function for a repo with layers, such as starters.
For example for a project I had a pattern such as
jobs:
lint:
runs-on: ubuntu-latest
strategy:
# needs a matrix to run it on all layers
matrix:
layer:
- bootstrap
- preprod-mybarnes
- preprod-network
- shared
defaults:
run:
working-directory: terraform/layers/${{ matrix.layer }}
steps:
- uses: actions/checkout@v3
- uses: hashicorp/setup-terraform@v2
with:
It was not ideal since the layers list is static, but It might be a interesting use case. Does github remote workflows supports this kind of specific usage (custom workdir based on a matrix, dynamic matrix) ?
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
.github/workflows/release.yml
google-github-actions/release-please-action v4@a37ac6e4f6449ce8b3f7607e4d97d0146028dc0b
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
.github/workflows/semantic-check.yml
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
actions/setup-node v4@60edb5dd545a775178f52524783378180af0d1f8
.github/workflows/terraform-docs.yml
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
terraform-docs/gh-actions v1.1.0@7a62208a0090636af2df1b739da46d27fd90bdc6
.github/workflows/terraform-quality.yml
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
terraform-linters/setup-tflint v4@19a52fbac37dacb22a09518e4ef6ee234f2d4987
actions/checkout v4@0ad4b8fadaa221de15dcec353f45205ec38ea70b
bridgecrewio/checkov-action master
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.