Skip to content

Create azure-pipelines.yml #12

Create azure-pipelines.yml

Create azure-pipelines.yml #12

Workflow file for this run

on: [push]
jobs:
print-info-job:
runs-on: ubuntu-latest
name: Print information about a repository
steps:
- name: Checkout the repo
uses: actions/checkout@v3
- name: Get info
id: getinfo
uses: aleksandrlevochkin/[email protected]
with:
owner-name: "actions"
repository-name: "checkout"
from-date: "03-20-2023"
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Print info
run: |
echo "Total number of issues is ${{ steps.getinfo.outputs.total-issues }}"
echo "Number of open issues is ${{ steps.getinfo.outputs.open-issues }}"
echo "Number of closed issues is ${{ steps.getinfo.outputs.closed-issues }}"
echo "Number of issues opened since ${{ steps.getinfo.outputs.from-date-input }} is ${{ steps.getinfo.outputs.issues-since-date }}"
echo "Total number of pull requests is ${{ steps.getinfo.outputs.total-pulls }}"
echo "Number of open pull requests is ${{ steps.getinfo.outputs.open-pulls }}"
echo "Number of closed pull requests is ${{ steps.getinfo.outputs.closed-pulls }}"
echo "Number of pull requests opened since ${{ steps.getinfo.outputs.from-date-input }} is ${{ steps.getinfo.outputs.pulls-since-date }}"