Skip to content

Adding Contact us form for the website usign google sheets script as backend #8

Adding Contact us form for the website usign google sheets script as backend

Adding Contact us form for the website usign google sheets script as backend #8

name: Auto-label on Any Issue
on:
issues:
types: [opened]
jobs:
auto-label:
runs-on: ubuntu-latest
steps:
- name: Add labels to any new issue
uses: actions/github-script@v4
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const labelsToAdd = ["VSoC’24"];
await github.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: labelsToAdd
});