[ci] Upgrading CI #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright (c) Microsoft Corporation. | |
# Licensed under the MIT license. | |
name: Demo | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
comment: | |
runs-on: ubuntu-latest | |
steps: | |
- name: View context attributes | |
uses: actions/github-script@v7 | |
with: | |
script: console.log(context) | |
- name: Post Comment | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
github.rest.issues.createComment({ | |
issue_number: context.issue.number, | |
owner: context.repo.owner, | |
repo: context.repo.repo, | |
body: '👋 Thanks for reporting!' | |
}) |