forked from borislavr/qubership-workflow-hub
-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (32 loc) · 971 Bytes
/
prettierFix.yaml
File metadata and controls
34 lines (32 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
---
# How to implement the workflow in repository
# Create a .github/workflows/prettier.yaml file in the repository and copy code below
# ###################################################
# name: Prettier-fix
# on: [pull_request, push, workflow_dispatch]
#
# permissions:
# contents: write
#
# jobs:
# call-prettier-fix:
# uses: Netcracker/qubership-github-workflows/.github/workflows/prettierFix.yaml@main
# ###################################################
name: Prettier-fix
on: [workflow_call]
permissions:
contents: write
jobs:
prettier-fix:
## Run only if the actor is not the GitHub Actions bot
#if: github.actor != 'github-actions[bot]'
runs-on: ubuntu-latest
# Limit the running time
timeout-minutes: 10
steps:
- name: Invoke the Prettier fix
# Use the latest commit in the main branch.
uses: WorkOfStan/prettier-fix@main
with:
#node-version: "20"
commit-changes: false