Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update contributors.yml #79

Merged
merged 4 commits into from
Jul 3, 2024
Merged

Update contributors.yml #79

merged 4 commits into from
Jul 3, 2024

Conversation

IssaHanou
Copy link
Member

@IssaHanou
Copy link
Member Author

IssaHanou commented Jul 3, 2024

do we need this step too:

      - name: Get dates for last month
        shell: bash
        run: |
          # Calculate the first day of the previous month
          start_date=$(date -d "last month" +%Y-%m-01)
  
          # Calculate the last day of the previous month
          end_date=$(date -d "$start_date +1 month -1 day" +%Y-%m-%d)
  
          #Set an environment variable with the date range
          echo "START_DATE=$start_date" >> "$GITHUB_ENV"
          echo "END_DATE=$end_date" >> "$GITHUB_ENV"

@IssaHanou
Copy link
Member Author

- name: Get dates for last month
    shell: bash
    run: |
      # Calculate the first day of the previous month
      start_date=2023-01-01

      # Calculate the last day of the previous month
      end_date=$(date -d "$start_date +1 month -1 day" +%Y-%m-%d)

      #Set an environment variable with the date range
      echo "START_DATE=$start_date" >> "$GITHUB_ENV"
      echo "END_DATE=$end_date" >> "$GITHUB_ENV"

@ReubenJ ReubenJ self-requested a review July 3, 2024 13:07
.github/workflows/contributors.yml Outdated Show resolved Hide resolved
.github/workflows/contributors.yml Show resolved Hide resolved
IssaHanou and others added 2 commits July 3, 2024 15:11
@ReubenJ ReubenJ merged commit 4f98be8 into master Jul 3, 2024
3 checks passed
@ReubenJ ReubenJ deleted the IssaHanou-patch-2 branch July 3, 2024 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants