Skip to content

feat(GithubAction): [GH-14] Implement Github Action - wip #18

feat(GithubAction): [GH-14] Implement Github Action - wip

feat(GithubAction): [GH-14] Implement Github Action - wip #18

Workflow file for this run

name: Run Badgetizr on Pull Requests
on:
pull_request:
types:
- opened
- reopened
- synchronize
- edited
- closed
jobs:
badgetizr:
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v3
- name: Set version
id: set_version
run: echo "VERSION=1.3.0" >> $GITHUB_ENV
- name: Run Badgetizr
uses: aiKrice/homebrew-badgetizr@${{ env.VERSION }}

Check failure on line 25 in .github/workflows/badgetizr.yml

View workflow run for this annotation

GitHub Actions / Run Badgetizr on Pull Requests

Invalid workflow file

The workflow is not valid. .github/workflows/badgetizr.yml (Line: 25, Col: 15): Unrecognized named-value: 'env'. Located at position 1 within expression: env.VERSION
with:
pr_id: ${{ github.event.pull_request.number }}
configuration: .badgetizr.yml
pr_destination_branch: ${{ github.event.pull_request.base.ref }}
pr_build_number: ${{ github.run_id }}
pr_build_url: "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}"
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}