Skip to content

Commit

Permalink
Add re-usable workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Nischal2015 committed May 10, 2024
1 parent 83c67d6 commit 8d8cab3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 83 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ name: CI
on:
push:
branches:
- main
- dev

jobs:
Expand Down Expand Up @@ -91,4 +90,4 @@ jobs:
uses: ./.github/workflows/create-issue.yaml
with:
title: 'Automated workflow failure issue for commit ${{ github.sha }}'
body: 'This issue was automatically created by Github Action workflow ** ${{ github.worflow }} **'
body: 'This issue was automatically created by Github Action workflow ** ${{ github.workflow }} **'
80 changes: 0 additions & 80 deletions .github/workflows/build.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/create-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
- name: Create issue using REST API
run: |
curl --request POST \
--url https://api.github.com/repos/${{ env.owner }}/${{ github.repository }}/issues \
--url https://api.github.com/repos/${{ github.repository }}/issues \
--header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
--header 'content-type: application/json' \
--data '{
Expand Down

0 comments on commit 8d8cab3

Please sign in to comment.