Unverified Commit 58e74e15 authored by Douglas Duteil's avatar Douglas Duteil
Browse files

ci(github): update @workflows-src workflow

parent 5c37a27f
{- renovate: currentValue=master -}
https://raw.githubusercontent.com/SocialGouv/.github/e1498588de137d5bf0b8d7ade9dbd1308622a486/dhall/socialgouv/workflows/workflows-src.dhall
https://raw.githubusercontent.com/SocialGouv/.github/4f03354346024941c4d1f3c9b5a8cfe038643bb4/dhall/socialgouv/workflows/workflows-src.dhall
jobs:
workflows-src-to-workflows:
name: Convert to workflows
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: "actions/checkout@v2"
with:
token: "${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}"
- uses: "dhall-lang/setup-dhall@35fa9f606036a9b7138bcbc4d519021fdda7bd5e"
with:
version: '1.38.1'
- name: Github Actions Dhall To Yaml
run: |
find .github/workflows-src -name '*.dhall' -type f -print0 |
sort -buz |
xargs -0 -i sh -xc '
dhall freeze --inplace {} &&
dhall lint --inplace {} &&
dhall-to-yaml --file {} --output .github/workflows/$(basename {} .dhall).yaml
'
- env:
GITHUB_TOKEN: "${{ secrets.SOCIALGROOVYBOT_BOTO_PAT }}"
name: Commit changes
uses: "EndBug/add-and-commit@a3adef035a1381dcf888c90b847240e2ddb9e008"
with:
add: ".github/"
author_email: "${{ secrets.SOCIALGROOVYBOT_EMAIL }}"
author_name: "${{ secrets.SOCIALGROOVYBOT_NAME }}"
branch: "${{ steps.comment.outputs.branch }}"
message: "chore(:robot:): workflows-src to workflows"
name: "🤖 / Dhall Workflows"
on:
pull_request:
branches:
- master
- main
paths:
- ".github/workflows-src/**"
- ".github/workflows/@workflows-src.yaml"
push:
branches:
- master
- main
paths:
- ".github/workflows-src/**"
- ".github/workflows/@workflows-src.yaml"
workflow_dispatch: {}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment