Skip to content

Merge pull request #1 from vkuttyp/copilot/add-topics-to-repo #2

Merge pull request #1 from vkuttyp/copilot/add-topics-to-repo

Merge pull request #1 from vkuttyp/copilot/add-topics-to-repo #2

Workflow file for this run

name: Set Repository Topics

Check failure on line 1 in .github/workflows/set-topics.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/set-topics.yml

Invalid workflow file

(Line: 11, Col: 3): Unexpected value 'administration'
on:
push:
branches:
- main
- master
workflow_dispatch:
permissions:
administration: write
jobs:
set-topics:
runs-on: ubuntu-latest
steps:
- name: Set repository topics
uses: actions/github-script@v7
with:
script: |
await github.rest.repos.replaceAllTopics({
owner: context.repo.owner,
repo: context.repo.repo,
names: [
'swift',
'sql-server',
'mssql',
'freetds',
'swift-package-manager',
'database',
'async-await',
'ios',
'macos',
'linux'
]
});
console.log('Repository topics set successfully.');