Skip to content

Commit

Permalink
chore: update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mguellsegarra committed Dec 4, 2023
1 parent af9d820 commit dfa214c
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 42 deletions.
42 changes: 0 additions & 42 deletions .github/workflows/create_dependencies_alpha_pr.yaml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/update_dependent_projects_alpha.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Update dependent projects (ALPHA)

on:
release:
types: [published]
workflow_dispatch:

env:
LIBRARY_NAME: "gisce/react-formiga-table"
BRANCH_NAME: "alpha"

jobs:
update-dependents:
if: github.event.release.prerelease == false && !contains(github.event.release.tag_name, '-alpha.') && !contains(github.event.release.tag_name, '-rc.')
runs-on: ubuntu-latest
strategy:
matrix:
include:
- project: "gisce/react-ooui"
branch: ${{ env.BRANCH_NAME }}
steps:
- name: Call Reusable Workflow for each project
uses: gisce/[email protected]
with:
dependentProject: ${{ matrix.project }}
tagName: ${{ github.event.release.tag_name }}
dependentProjectBranch: ${{ matrix.branch }}
libraryName: ${{ env.LIBRARY_NAME }}
githubToken: ${{ secrets.GH_PAT }}

0 comments on commit dfa214c

Please sign in to comment.