Create azure-pipelines.yml #12
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
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 }}" |