Skip to content

Replace dependabot for custom script #156

Replace dependabot for custom script

Replace dependabot for custom script #156

Workflow file for this run

---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2022
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
name: Documentation and diagram generation
# yamllint disable-line rule:truthy
on:
push:
paths-ignore:
- codebase-structure.svg
- .github/
workflow_dispatch:
jobs:
check-diagram:
name: Update the codebase structure diagram
permissions:
contents: write # for technote-space/create-pr-action to push code
pull-requests: write # for technote-space/create-pr-action to create a PR
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # refs/tags/v4.1.7
- name: Update diagram
uses: githubocto/repo-visualizer@a999615bdab757559bf94bda1fe6eef232765f85 # refs/tags/0.9.1
with:
excluded_paths: "ignore,.github"
output_file: codebase-structure.svg
should_push: false
- uses: technote-space/create-pr-action@91114507cf92349bec0a9a501c2edf1635427bc5 # refs/tags/v2.1.4
with:
COMMIT_MESSAGE: 'Upgrade documentation diagram'
COMMIT_NAME: 'electrocucaracha bot'
PR_BRANCH_NAME: "versions-update-${PR_ID}"
PR_TITLE: 'chore: update diagram'