Skip to content

fix(actions): sync inputs #321

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/actions/git/add/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: create commit

inputs:
excludeTmp:
description: Esclude tmp dir - boolean
description: Exclude tmp dir - boolean
required: false
default: ''
workingDirectory:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/git/find-last-tag-commit/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Find last tag commin
description: Find las tag and return this commit hash
name: Find last tag commit
description: Find last tag and return this commit hash

outputs:
lastTagCommit:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/github/commit/create/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ inputs:
required: false
default: ${{ github.repository }}
githubToken:
description: GitHup token
description: GitHub token
required: true
branchName:
description: Branch to commit
Expand All @@ -23,7 +23,7 @@ inputs:
filePattern:
description: File pattern used for `git add`. For example `src/*.js`
required: false
default: '.'
default: 'version.properties'

runs:
using: composite
Expand Down
6 changes: 3 additions & 3 deletions .github/actions/github/pull-request/create/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ description: create pull request on target repo
inputs:
targetDirectory:
default: tmp/target
description: Commit author GitGup token
description: Commit author GitHub token
required: true
githubToken:
description: GitHup token
description: GitHub token
required: true
prTitle:
description: PullRequest title
Expand All @@ -33,7 +33,7 @@ inputs:
description: git branch name
required: true
targetRepository:
description: pull reques target repository
description: pull request target repository
required: false

runs:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
name: Get last merget PullRequest author
description: get last merget pull request author
name: Get last merged PullRequest author
description: get last merged pull request author

inputs:
githubToken:
description: GitHup token
description: GitHub token
required: true
reviewerUsername:
description: github pull request reviewer username
required: true

outputs:
lastPrAuthor:
description: Get branch name
description: last pull request author
value: ${{ steps.pr_author.outputs.lastPrAuthor }}

runs:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/github/push/create/action.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
name: Git push
description: gith push
description: git push

inputs:
targetDirectory:
default: tmp/target
description: TargetDirectory
required: true
githubToken:
description: GitHup token
description: GitHub token
required: true
branchName:
description: branchName
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/ios/prepare-publish/action.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: prepare ios enveronment to publish on testflight
name: prepare ios environment to publish on testflight
description: install certificate, provisioning profile & p8 key

inputs:
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/publish/prepare-testflight/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: prepare testflight publish action
description: checout to source, target and workflow repo, prepare nodejs enveronment and install dependencies; github app token on output
description: checkout to source, target and workflow repo, prepare nodejs environment and install dependencies; github app token on output

inputs:
workflowRepo:
Expand Down
1 change: 1 addition & 0 deletions .github/actions/release/prepare-pr/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ runs:
branchName: ${{ steps.createReleaseBranchStep.outputs.branchName }}
githubToken: ${{ inputs.githubToken }}
targetRepository: ${{ github.repository }}
filePattern: 'version.properties'

- uses: rees46/workflow/.github/actions/git/wait-available-branch@master
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/sync/prepare/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: reusable repo sync workflow prepare enveronment
description: checout to source, target and workflow repo, prepare nodejs enveronment and install dependencies; github app token on output
name: reusable repo sync workflow prepare environment
description: checkout to source, target and workflow repo, prepare nodejs environment and install dependencies; github app token on output

inputs:
appId:
Expand Down
4 changes: 4 additions & 0 deletions .github/actions/sync/read-replacements/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ runs:
token: ${{ steps.appTokenStep.outputs.token }}
repository: ${{inputs.replacementsRepo}}

- name: Install jq and yq
run: |
apt-get update && apt-get install -y jq yq

- name: Read replacements from file
shell: bash
id: getReplacementsStep
Expand Down
4 changes: 2 additions & 2 deletions .github/actions/utils/check-vars/action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Check variables
description: chech variables for prepare publish enveronment; needs checkouted workflow repo
description: check variables for prepare publish environment; needs checked out workflow repo

inputs:
workflowDirectory:
Expand All @@ -10,7 +10,7 @@ inputs:
description: variables to check in json format
required: true
requiredVars:
description: list of required variables, devided by `,`
description: list of required variables, divided by `,`

runs:
using: composite
Expand Down
18 changes: 0 additions & 18 deletions .github/workflows/auto-merge-sync-pr.yml.bak

This file was deleted.

28 changes: 28 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: YAML and Actionlint

on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Run yamllint
uses: ibiqlik/action-yamllint@v3
with:
file_or_dir: ".github/**/*.y*ml"
format: 'colored'

- name: Run actionlint
uses: docker://rhysd/actionlint:latest
with:
args: -color
Loading
Loading