Skip to content

Update filter_files.py #27

Update filter_files.py

Update filter_files.py #27

Workflow file for this run

name: Send message to release prerpping
on:
push:
tags:
"v3.*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Generate a token
id: generate_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.VB_APP_ID }}
private-key: ${{ secrets.VB_PRIVATE_KEY }}
owner: ${{ github.repository_owner }}
- uses: olegtarasov/[email protected]
id: tagName
- name: Get all the files
id: file_names
run: g=$(ls); f=$(python filter_files.py "${g}"); echo "FILES=${f}" >> "$GITHUB_ENV"
- name: Repository Dispatch
uses: peter-evans/repository-dispatch@v2
env:
GITHUB_TOKEN: ${{ steps.generate_token.outputs.token }}
with:
token: ${{ steps.generate_token.outputs.token }}
repository: vyxal/Release-Prepping
event-type: vyxal3-release
client-payload: '{"tag": "${{ steps.tagName.outputs.tag }}", "files": "[\"vyxal.js\"]"}'