Skip to content

chore: updating permissions for workflow files #236

chore: updating permissions for workflow files

chore: updating permissions for workflow files #236

Workflow file for this run

name: publish_helm_chart
on:
pull_request:
branches:
- release-**
- master
types: [ closed ]
permissions:
contents: write
actions: read
deployments: read
contents: read

Check failure on line 14 in .github/workflows/chart.yml

View workflow run for this annotation

GitHub Actions / publish_helm_chart

Invalid workflow file

The workflow is not valid. .github/workflows/chart.yml (Line: 14, Col: 3): 'contents' is already defined
jobs:
publish-helm-chart:
if: github.event.pull_request.merged == true && contains(github.event.pull_request.title, 'update manifest and helm charts')
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
fetch-depth: 0
- name: Publish Helm chart
uses: stefanprodan/helm-gh-pages@v1.7.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
charts_dir: charts
target_dir: charts
linting: off