-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🔧 chore(commit-lint.yml): update commit-lint.yml to trigger on push e…
…vents only 🔧 chore(vhs.yml): update vhs.yml to trigger on push events only and include specific paths 🔥 chore(commit-lint.yml): remove commit-lint.yml workflow 🔥 chore(vhs.yml): remove vhs.yml workflow 🔧 chore(vhs.yml): update vhs.yml to include specific paths and remove unnecessary steps 🔧 chore(vhs.yml): update vhs.yml to use git-auto-commit-action and specify file pattern for commit
- Loading branch information
1 parent
6b7be8f
commit 127ca6a
Showing
5 changed files
with
21 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
name: Lint Commit Messages | ||
on: | ||
workflow_dispatch: | ||
on: [push] | ||
|
||
jobs: | ||
commitlint: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,53 +1,31 @@ | ||
name: vhs | ||
on: | ||
workflow_dispatch: | ||
# push: | ||
# paths: | ||
# - .github/workflows/vhs.yml | ||
# - vhs/** | ||
# # - src/** | ||
# workflow_run: | ||
# workflows: ["test"] | ||
# branches: ['main'] | ||
# types: [completed] | ||
# on: | ||
# push: | ||
# paths: | ||
# - src/** | ||
# - .github/workflows/vhs.yml | ||
# - .github/demo/demo.tape | ||
# workflow_run: | ||
# workflows: ["test"] | ||
# branches: ['main'] | ||
# types: [completed] | ||
on: | ||
push: | ||
paths: | ||
- src/** | ||
- .github/workflows/vhs.yml | ||
- .github/demo/demo.tape | ||
jobs: | ||
vhs: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: install batcat | ||
run: which bat || sudo apt-get install bat | ||
- uses: denoland/setup-deno@v1 | ||
- run: deno task install | ||
- run: cd vhs | ||
- uses: charmbracelet/vhs-action@v1 | ||
with: | ||
path: './vhs/demo.tape' | ||
|
||
- name: Pull request changes | ||
uses: peter-evans/create-pull-request@v3 | ||
path: '.github/demo/demo.tape' | ||
- uses: stefanzweifel/git-auto-commit-action@v4 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
commit-message: "Update generated VHS GIF" | ||
title: "Update generated VHS GIF" | ||
body: "Update generated VHS GIF" | ||
|
||
|
||
|
||
|
||
# - uses: stefanzweifel/git-auto-commit-action@v4 | ||
# env: | ||
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
# with: | ||
# commit_message: Update generated VHS GIF | ||
# branch: main | ||
# commit_user_name: vhs-action 📼 | ||
# commit_user_email: actions@github.com | ||
# commit_author: vhs-action 📼 <actions@github.com> | ||
# file_pattern: 'vhs/*.gif' | ||
commit_message: Update generated VHS GIF | ||
branch: main | ||
commit_user_name: vhs-action 📼 | ||
commit_user_email: actions@github.com | ||
commit_author: vhs-action 📼 <actions@github.com> | ||
file_pattern: '*.gif' |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.